CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::BlobMapping Class Reference

#include <RelationalMapping.h>

Inheritance diagram for ora::BlobMapping:
ora::IRelationalMapping

Public Member Functions

 BlobMapping (const Reflex::Type &attributeType, TableRegister &tableRegister)
 
void process (MappingElement &parentElement, const std::string &attributeName, const std::string &attributeNameForSchema, const std::string &scopeNameForSchema)
 
 ~BlobMapping ()
 
- Public Member Functions inherited from ora::IRelationalMapping
virtual ~IRelationalMapping ()
 

Private Attributes

TableRegisterm_tableRegister
 
Reflex::Type m_type
 

Detailed Description

Definition at line 60 of file RelationalMapping.h.

Constructor & Destructor Documentation

ora::BlobMapping::BlobMapping ( const Reflex::Type &  attributeType,
TableRegister tableRegister 
)

Definition at line 200 of file RelationalMapping.cc.

200  :
201  m_type(attributeType),m_tableRegister( tableRegister ){
202 }
TableRegister & m_tableRegister
Reflex::Type m_type
ora::BlobMapping::~BlobMapping ( )

Definition at line 204 of file RelationalMapping.cc.

204  {
205 }

Member Function Documentation

void ora::BlobMapping::process ( MappingElement parentElement,
const std::string &  attributeName,
const std::string &  attributeNameForSchema,
const std::string &  scopeNameForSchema 
)
virtual

Implements ora::IRelationalMapping.

Definition at line 206 of file RelationalMapping.cc.

References ora::MappingElement::blobMappingElementType(), className(), and ora::processLeafElement().

Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().

209  {
210  std::string className = m_type.Name(Reflex::SCOPED);
211  processLeafElement(parentElement,
213  className,
214  attributeName,
215  attributeNameForSchema,
216  scopeNameForSchema,
218 }
static std::string blobMappingElementType()
Returns the name of the blob mapping element type.
TableRegister & m_tableRegister
Reflex::Type m_type
void processLeafElement(MappingElement &parentElement, const std::string &elementType, const std::string &typeName, const std::string &attributeName, const std::string &attributeNameForSchema, const std::string &scopeNameForSchema, TableRegister &tableRegister)
std::string className(const T &t)
Definition: ClassName.h:30

Member Data Documentation

TableRegister& ora::BlobMapping::m_tableRegister
private

Definition at line 70 of file RelationalMapping.h.

Reflex::Type ora::BlobMapping::m_type
private

Definition at line 69 of file RelationalMapping.h.