OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Protected Member Functions | List of all members
openstudio::BCL Class Referenceabstract

#include <BCL.hpp>

+ Inheritance diagram for openstudio::BCL:

Public Member Functions

Destructor
virtual ~BCL ()
 Virtual destructor. More...
 
Inherited members
virtual boost::optional
< BCLComponent
getComponent (const std::string &uid, const std::string &versionId="") const =0
 Get the component by uid. More...
 
virtual boost::optional
< BCLMeasure
getMeasure (const std::string &uid, const std::string &versionId="") const =0
 Get the measure by uid. More...
 

Protected Member Functions

 BCL (QObject *parent=nullptr)
 Default constructor. More...
 

Detailed Description

This is a generic interface that can be used for searching either the local or remote bcl.

Constructor & Destructor Documentation

virtual openstudio::BCL::~BCL ( )
virtual

Virtual destructor.

openstudio::BCL::BCL ( QObject parent = nullptr)
protected

Default constructor.

Member Function Documentation

virtual boost::optional<BCLComponent> openstudio::BCL::getComponent ( const std::string &  uid,
const std::string &  versionId = "" 
) const
pure virtual

Get the component by uid.

Implemented in openstudio::LocalBCL, and openstudio::RemoteBCL.

virtual boost::optional<BCLMeasure> openstudio::BCL::getMeasure ( const std::string &  uid,
const std::string &  versionId = "" 
) const
pure virtual

Get the measure by uid.

Implemented in openstudio::LocalBCL, and openstudio::RemoteBCL.