cdb::DAONode

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Friends And Related Function Documentation
Member Data Documentation
Author

NAME

cdb::DAONode −

SYNOPSIS

#include <cdbDAONode.h>

Inherited by cdb::DAOChildNode.

Public Member Functions

DAONode (const char *nodeName, CDB::DAL_ptr dal, PortableServer::POA_ptr poa)

virtual ~DAONode ()

void readConfiguration ()

DAONode * createDAONode (const char *nodeName)

DAONode * createChild (const char *childName)

virtual CORBA::Long get_long (const char *propertyName)

virtual CORBA::Double get_double (const char *propertyName)

virtual char * get_string (const char *propertyName)

virtual char * get_field_data (const char *propertyName)

virtual ::CDB::stringSeq * get_string_seq (const char *propertyName)

virtual ::CDB::longSeq * get_long_seq (const char *propertyName)

virtual ::CDB::doubleSeq * get_double_seq (const char *propertyName)

template<class T > T getValue (const char *propertyName)

virtual void destroy ()

Protected Member Functions

DAONode ()

void connect (bool silent=true)

Protected Attributes

std::string m_name

DAO CURL (name).

CDB::DAL_var m_dal

CDB DAL.

PortableServer::POA_var m_poa

CORBA POA.

DAOProxy * m_daoImpl

DAO implementation.

bool m_remote

local or remote DAO flag

DALChangeListenerImplementation * m_dalChangeListener

DAL change listener.

Friends

class DALChangeListenerImplementation

Detailed Description

DAL Access implementation.

Constructor & Destructor Documentation

cdb::DAONode::DAONode (const char * nodeName, CDB::DAL_ptr dal, PortableServer::POA_ptr poa) Constrcutor.

Parameters:

nodeName name of the CDB node (DAO) to be created.
dal
CDB DAL.
poa
POA to be used to activate CORBA object (SYSTEM_ID).

virtual cdb::DAONode::~DAONode () [virtual] Destructor.

cdb::DAONode::DAONode () [protected] Default constructor.

Member Function Documentation

void cdb::DAONode::connect (bool silent = true) [protected] Connect. Sets the m_daoImpl.

Parameters:

silent exception reporting flag, if true exception will be thrown if connect fails

DAONode* cdb::DAONode::createChild (const char * childName) Create child DAO. Prefixing all reuqests with child name and delegating it to this instance).

Reimplemented in cdb::DAOChildNode.

DAONode* cdb::DAONode::createDAONode (const char * nodeName) Create DAO using current DAL.

Parameters:

nodeName name of the CDB node (DAO) to be created.

Reimplemented in cdb::DAOChildNode.

virtual void cdb::DAONode::destroy () [virtual]

Reimplemented in cdb::DAOChildNode.

virtual CORBA::Double cdb::DAONode::get_double (const char * propertyName) [virtual]

Reimplemented in cdb::DAOChildNode.

virtual ::CDB::doubleSeq* cdb::DAONode::get_double_seq (const char * propertyName)

Reimplemented in cdb::DAOChildNode.

virtual char* cdb::DAONode::get_field_data (const char * propertyName) [virtual]

Reimplemented in cdb::DAOChildNode.

virtual CORBA::Long cdb::DAONode::get_long (const char * propertyName) [virtual]

Reimplemented in cdb::DAOChildNode.

virtual ::CDB::longSeq* cdb::DAONode::get_long_seq (const char * propertyName)

Reimplemented in cdb::DAOChildNode.

virtual char* cdb::DAONode::get_string (const char * propertyName) [virtual]

Reimplemented in cdb::DAOChildNode.

virtual ::CDB::stringSeq* cdb::DAONode::get_string_seq (const char * propertyName)

Reimplemented in cdb::DAOChildNode.

template<class T > T cdb::DAONode::getValue (const char * propertyName) template version of getter method, which is used mostly in baci It is specialized for baci (scalar) types

Exceptions:

cdbErrType::WrongCDBDataTypeEx
cdbErrType::CDBFieldDoesNotExistEx

Reimplemented in cdb::DAOChildNode.

Referenced by cdb::DAOChildNode::getValue().

void cdb::DAONode::readConfiguration () Read configuration.

Friends And Related Function Documentation

friend class DALChangeListenerImplementation [friend]

Member Data Documentation

CDB::DAL_var cdb::DAONode::m_dal [protected]

CDB DAL.

DALChangeListenerImplementation* cdb::DAONode::m_dalChangeListener [protected]

DAL change listener.

DAOProxy* cdb::DAONode::m_daoImpl [protected]

DAO implementation.

std::string cdb::DAONode::m_name [protected]

DAO CURL (name).

PortableServer::POA_var cdb::DAONode::m_poa [protected]

CORBA POA.

bool cdb::DAONode::m_remote [protected]

local or remote DAO flag

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.