cdb::DAOChildNode

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

NAME

cdb::DAOChildNode −

SYNOPSIS

#include <cdbDAONode.h>

Inherits cdb::DAONode.

Public Member Functions

DAOChildNode (DAONode *parent, const char *childName)

virtual ~DAOChildNode ()

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 Attributes

DAONode * m_parent

Parent instance (delegate).

std::string m_childName

Child name (prefix).

std::string m_childNamePrefix

Prefix with hierarchy delimiter.

Detailed Description

Child DAL Access implementation.

Constructor & Destructor Documentation

cdb::DAOChildNode::DAOChildNode (DAONode * parent, const char * childName) Constrcutor.

Parameters:

parent parent DAONode node.
childNamen
child name, prefix to propertyNames (concated string is then delegated to parent).

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

Member Function Documentation

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

Reimplemented from cdb::DAONode.

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

Parameters:

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Reimplemented from cdb::DAONode.

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

Exceptions:

cdbErrType::WrongCDBDataTypeEx
cdbErrType::CDBFieldDoesNotExistEx

Reimplemented from cdb::DAONode.

References cdb::DAONode::getValue(), and m_parent.

Member Data Documentation

std::string cdb::DAOChildNode::m_childName [protected]

Child name (prefix).

std::string cdb::DAOChildNode::m_childNamePrefix [protected]

Prefix with hierarchy delimiter.

DAONode* cdb::DAOChildNode::m_parent [protected]

Parent instance (delegate).

Referenced by getValue().

Author

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