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