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

#include <projectmodeldatabase.hpp>

+ Inheritance diagram for ProjectModel::Result:

Classes

class  ModelHandle
 
class  Own
 
class  ResultqueriesHandle
 

Public Member Functions

virtual void del ()
 
Result::ModelHandle model ()
 
const Resultoperator= (const Result &obj)
 
 Result (const litesql::Database &db)
 
 Result (const litesql::Database &db, const litesql::Record &rec)
 
 Result (const Result &obj)
 
Result::ResultqueriesHandle resultqueries ()
 
virtual bool typeIsCorrect ()
 
std::unique_ptr< Resultupcast ()
 
std::unique_ptr< ResultupcastCopy ()
 
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 > type
 
litesql::Field< int > value
 

Static Public Attributes

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

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::Result::Result ( const litesql::Database &  db)
ProjectModel::Result::Result ( const litesql::Database &  db,
const litesql::Record &  rec 
)
ProjectModel::Result::Result ( const Result obj)

Member Function Documentation

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

Member Data Documentation

const litesql::FieldType ProjectModel::Result::Id
static
litesql::Field<int> ProjectModel::Result::id
const std::string ProjectModel::Result::sequence__
static
const std::string ProjectModel::Result::table__
static
const litesql::FieldType ProjectModel::Result::Type
static
litesql::Field<std::string> ProjectModel::Result::type
const std::string ProjectModel::Result::type__
static
const litesql::FieldType ProjectModel::Result::Value
static
litesql::Field<int> ProjectModel::Result::value