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 Member Functions | Private Attributes
ora::MappingToSchema Class Reference

#include <MappingToSchema.h>

Public Member Functions

void alter (const MappingTree &mapping)
 
bool check (const MappingTree &mapping)
 
void create (const MappingTree &mapping)
 
 MappingToSchema (coral::ISchema &schema)
 Constructor. More...
 
 ~MappingToSchema ()
 Destructor. More...
 

Private Member Functions

void createTable (const TableInfo &tableInfo)
 

Private Attributes

coral::ISchema & m_schema
 Reference to the schema in use. More...
 

Detailed Description

Helper class which is used for the creation of the tables which hold the object data, conforming to a given object/relational mapping.

Definition at line 19 of file MappingToSchema.h.

Constructor & Destructor Documentation

ora::MappingToSchema::MappingToSchema ( coral::ISchema &  schema)
explicit

Constructor.

Definition at line 16 of file MappingToSchema.cc.

ora::MappingToSchema::~MappingToSchema ( )

Destructor.

Definition at line 20 of file MappingToSchema.cc.

Member Function Documentation

void ora::MappingToSchema::alter ( const MappingTree mapping)

Definition at line 78 of file MappingToSchema.cc.

bool ora::MappingToSchema::check ( const MappingTree mapping)

Definition at line 130 of file MappingToSchema.cc.

void ora::MappingToSchema::create ( const MappingTree mapping)

Definition at line 69 of file MappingToSchema.cc.

void ora::MappingToSchema::createTable ( const TableInfo tableInfo)
private

Definition at line 23 of file MappingToSchema.cc.

Member Data Documentation

coral::ISchema& ora::MappingToSchema::m_schema
private

Reference to the schema in use.

Definition at line 39 of file MappingToSchema.h.