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::Project Class Reference

#include <projectmodeldatabase.hpp>

+ Inheritance diagram for ProjectModel::Project:

Classes

class  AnalysesHandle
 
class  Own
 

Public Member Functions

Project::AnalysesHandle analyses ()
 
virtual void del ()
 
const Projectoperator= (const Project &obj)
 
 Project (const litesql::Database &db)
 
 Project (const litesql::Database &db, const litesql::Record &rec)
 
 Project (const Project &obj)
 
virtual bool typeIsCorrect ()
 
std::unique_ptr< Projectupcast ()
 
std::unique_ptr< ProjectupcastCopy ()
 
virtual void update ()
 

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static const litesql::FieldType Id
 
static const litesql::FieldType Name
 
static const litesql::FieldType Projecttype
 
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::Project::Project ( const litesql::Database &  db)
ProjectModel::Project::Project ( const litesql::Database &  db,
const litesql::Record &  rec 
)
ProjectModel::Project::Project ( const Project obj)

Member Function Documentation

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

Member Data Documentation

const litesql::FieldType ProjectModel::Project::Id
static
litesql::Field<int> ProjectModel::Project::id
const litesql::FieldType ProjectModel::Project::Name
static
litesql::Field<std::string> ProjectModel::Project::name
const litesql::FieldType ProjectModel::Project::Projecttype
static
litesql::Field<std::string> ProjectModel::Project::projecttype
const std::string ProjectModel::Project::sequence__
static
const std::string ProjectModel::Project::table__
static
const litesql::FieldType ProjectModel::Project::Type
static
litesql::Field<std::string> ProjectModel::Project::type
const std::string ProjectModel::Project::type__
static