OpenStudio:model_editor
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
ProjectModel::Analysis Class Reference

#include <projectmodeldatabase.hpp>

+ Inheritance diagram for ProjectModel::Analysis:

Classes

class  ModelsHandle
 
class  Own
 
class  ProjectHandle
 

Public Member Functions

 Analysis (const litesql::Database &db)
 
 Analysis (const litesql::Database &db, const litesql::Record &rec)
 
 Analysis (const Analysis &obj)
 
virtual void del ()
 
Analysis::ModelsHandle models ()
 
const Analysisoperator= (const Analysis &obj)
 
Analysis::ProjectHandle project ()
 
virtual bool typeIsCorrect ()
 
std::unique_ptr< Analysisupcast ()
 
std::unique_ptr< AnalysisupcastCopy ()
 
virtual void update ()
 

Static Public Member Functions

static void getFieldTypes (std::vector< litesql::FieldType > &ftypes)
 

Public Attributes

litesql::Field< std::string > analysistype
 
litesql::Field< int > id
 
litesql::Field< std::string > name
 
litesql::Field< std::string > type
 

Static Public Attributes

static const litesql::FieldType Analysistype
 
static const litesql::FieldType Id
 
static const litesql::FieldType Name
 
static const std::string sequence__
 
static const std::string table__
 
static const litesql::FieldType Type
 
static const std::string type__
 

Protected Member Functions

virtual void addIDUpdates (Updates &updates)
 
virtual void addUpdates (Updates &updates)
 
void create ()
 
void defaults ()
 
virtual void delRecord ()
 
virtual void delRelations ()
 
std::string insert (litesql::Record &tables, litesql::Records &fieldRecs, litesql::Records &valueRecs)
 

Constructor & Destructor Documentation

ProjectModel::Analysis::Analysis ( const litesql::Database &  db)
ProjectModel::Analysis::Analysis ( const litesql::Database &  db,
const litesql::Record &  rec 
)
ProjectModel::Analysis::Analysis ( const Analysis obj)

Member Function Documentation

virtual void ProjectModel::Analysis::addIDUpdates ( Updates &  updates)
protectedvirtual
virtual void ProjectModel::Analysis::addUpdates ( Updates &  updates)
protectedvirtual
void ProjectModel::Analysis::create ( )
protected
void ProjectModel::Analysis::defaults ( )
protected
virtual void ProjectModel::Analysis::del ( )
virtual
virtual void ProjectModel::Analysis::delRecord ( )
protectedvirtual
virtual void ProjectModel::Analysis::delRelations ( )
protectedvirtual
static void ProjectModel::Analysis::getFieldTypes ( std::vector< litesql::FieldType > &  ftypes)
static
std::string ProjectModel::Analysis::insert ( litesql::Record &  tables,
litesql::Records &  fieldRecs,
litesql::Records &  valueRecs 
)
protected
Analysis::ModelsHandle ProjectModel::Analysis::models ( )
const Analysis& ProjectModel::Analysis::operator= ( const Analysis obj)
Analysis::ProjectHandle ProjectModel::Analysis::project ( )
virtual bool ProjectModel::Analysis::typeIsCorrect ( )
virtual
std::unique_ptr<Analysis> ProjectModel::Analysis::upcast ( )
std::unique_ptr<Analysis> ProjectModel::Analysis::upcastCopy ( )
virtual void ProjectModel::Analysis::update ( )
virtual

Member Data Documentation

const litesql::FieldType ProjectModel::Analysis::Analysistype
static
litesql::Field<std::string> ProjectModel::Analysis::analysistype
const litesql::FieldType ProjectModel::Analysis::Id
static
litesql::Field<int> ProjectModel::Analysis::id
const litesql::FieldType ProjectModel::Analysis::Name
static
litesql::Field<std::string> ProjectModel::Analysis::name
const std::string ProjectModel::Analysis::sequence__
static
const std::string ProjectModel::Analysis::table__
static
const litesql::FieldType ProjectModel::Analysis::Type
static
litesql::Field<std::string> ProjectModel::Analysis::type
const std::string ProjectModel::Analysis::type__
static