#include <RelationalMapping.h>
Definition at line 47 of file RelationalMapping.h.
ora::PrimitiveMapping::PrimitiveMapping |
( |
const Reflex::Type & |
attributeType, |
|
|
TableRegister & |
tableRegister |
|
) |
| |
ora::PrimitiveMapping::~PrimitiveMapping |
( |
| ) |
|
void ora::PrimitiveMapping::process |
( |
MappingElement & |
parentElement, |
|
|
const std::string & |
attributeName, |
|
|
const std::string & |
attributeNameForSchema, |
|
|
const std::string & |
scopeNameForSchema |
|
) |
| |
|
virtual |
Implements ora::IRelationalMapping.
Definition at line 172 of file RelationalMapping.cc.
References ora::ClassUtils::isTypeString(), ora::MappingElement::primitiveMappingElementType(), ora::processLeafElement(), ora::ClassUtils::resolvedType(), and matplotRender::t.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::dumpPython(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::open(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProcess(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::setProperty().
177 const std::type_info* attrType = &t.TypeInfo();
178 if(t.IsEnum()) attrType = &
typeid(
int);
181 std::string typeName = coral::AttributeSpecification::typeNameForId(*attrType);
187 attributeNameForSchema,
bool isTypeString(const Reflex::Type &typ)
static std::string primitiveMappingElementType()
Returns the name of the primitive mapping element type.
Reflex::Type resolvedType(const Reflex::Type &typ)
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)
TableRegister & m_tableRegister
Reflex::Type ora::PrimitiveMapping::m_type |
|
private |