OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Related Functions | List of all members
openstudio::BCLComponent Class Reference

#include <BCLComponent.hpp>

Public Member Functions

Constructors
 BCLComponent ()
 Default constructor for a new component. More...
 
 BCLComponent (const std::string &dir)
 Constructor for downloaded components, path is to directory containing "component.xml" file. More...
 
Destructor
virtual ~BCLComponent ()
 Virtual destructor. More...
 
Getters
std::string directory () const
 
std::string uid () const
 
std::string versionId () const
 
std::string name () const
 
std::string description () const
 
std::vector< std::string > files () const
 
std::vector< std::string > files (std::string filetype) const
 
std::vector< std::string > filetypes () const
 
std::vector< Attributeattributes () const
 
Setters
void setName (const std::string &name)
 
Operators
bool operator== (const BCLComponent &other) const
 Equality test - Compares the uids and versionIds of two separate components. More...
 
bool operator!= (const BCLComponent &other) const
 Negation of ==. More...
 

Related Functions

(Note that these are not member functions.)

typedef std::vector< BCLComponentBCLComponentVector
 
typedef boost::optional
< BCLComponent
OptionalBCLComponent
 

Constructor & Destructor Documentation

openstudio::BCLComponent::BCLComponent ( )

Default constructor for a new component.

openstudio::BCLComponent::BCLComponent ( const std::string &  dir)

Constructor for downloaded components, path is to directory containing "component.xml" file.

virtual openstudio::BCLComponent::~BCLComponent ( )
virtual

Virtual destructor.

Member Function Documentation

std::vector<Attribute> openstudio::BCLComponent::attributes ( ) const
std::string openstudio::BCLComponent::description ( ) const
std::string openstudio::BCLComponent::directory ( ) const
std::vector<std::string> openstudio::BCLComponent::files ( ) const
std::vector<std::string> openstudio::BCLComponent::files ( std::string  filetype) const
std::vector<std::string> openstudio::BCLComponent::filetypes ( ) const
std::string openstudio::BCLComponent::name ( ) const
bool openstudio::BCLComponent::operator!= ( const BCLComponent other) const

Negation of ==.

bool openstudio::BCLComponent::operator== ( const BCLComponent other) const

Equality test - Compares the uids and versionIds of two separate components.

void openstudio::BCLComponent::setName ( const std::string &  name)
std::string openstudio::BCLComponent::uid ( ) const
std::string openstudio::BCLComponent::versionId ( ) const

Friends And Related Function Documentation

typedef std::vector<BCLComponent> BCLComponentVector
related
typedef boost::optional<BCLComponent> OptionalBCLComponent
related