#include <PSDL_Code_Gen.h>
Collaboration diagram for TAO_PSDL_Code_Gen:
Public Member Functions | |
TAO_PSDL_Code_Gen (CORBA::ORB_ptr orb) | |
~TAO_PSDL_Code_Gen (void) | |
int | set_codec (void) |
int | set_name_obj_ref (const char *name, const char *string_obj_ref ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
const char * | get_obj_ref (const char *name ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Private Member Functions | |
CORBA::OctetSeq * | encode (const char *string_obj_ref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
const char * | decode (const CORBA::OctetSeq &data ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Helper method to get the octet sequence. | |
Private Attributes | |
const char * | file_name_ |
File where the persistent data is stored. | |
TAO_PSDL_Datastore * | psdl_datastore_ |
Pointer to the class which accesses the database. | |
CORBA::ORB_var | orb_ |
Pointer to ORB. | |
IOP::Codec_var | codec_ |
|
|
|
|
|
Helper method to get the octet sequence.
|
|
Helper method which serializes the data and saves it to the database. |
|
Get the stringified form of the object reference given the name of the object. |
|
Initializes a IOP::CodecFactory and IOP::Codec to take care of the marshalling and demarshalling of data. |
|
Method to save the name-stringified object reference pair to the database. Returns -1 on failure. |
|
CDR encapsulation codec useful for encoding and decoding the data |
|
File where the persistent data is stored.
|
|
Pointer to ORB.
|
|
Pointer to the class which accesses the database.
|