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

#include <projectmodeldatabase.hpp>

+ Inheritance diagram for ProjectModel::ResultQuery:

Classes

class  Own
 
class  RequestedresultsHandle
 
class  ResultHandle
 

Public Member Functions

virtual void del ()
 
const ResultQueryoperator= (const ResultQuery &obj)
 
ResultQuery::RequestedresultsHandle requestedresults ()
 
ResultQuery::ResultHandle result ()
 
 ResultQuery (const litesql::Database &db)
 
 ResultQuery (const litesql::Database &db, const litesql::Record &rec)
 
 ResultQuery (const ResultQuery &obj)
 
virtual bool typeIsCorrect ()
 
std::unique_ptr< ResultQueryupcast ()
 
std::unique_ptr< ResultQueryupcastCopy ()
 
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 > query
 
litesql::Field< std::string > type
 

Static Public Attributes

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

Member Function Documentation

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

Member Data Documentation

const litesql::FieldType ProjectModel::ResultQuery::Id
static
litesql::Field<int> ProjectModel::ResultQuery::id
const litesql::FieldType ProjectModel::ResultQuery::Query
static
litesql::Field<std::string> ProjectModel::ResultQuery::query
const std::string ProjectModel::ResultQuery::sequence__
static
const std::string ProjectModel::ResultQuery::table__
static
const litesql::FieldType ProjectModel::ResultQuery::Type
static
litesql::Field<std::string> ProjectModel::ResultQuery::type
const std::string ProjectModel::ResultQuery::type__
static