OpenStudioCore:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "BCLComponent.hpp"

Public Member Functions

 BCLComponent ()
 BCLComponent (const std::string &dir)
virtual ~BCLComponent ()
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
void setName (const std::string &name)
bool operator== (const BCLComponent &other) const
bool operator!= (const BCLComponent &other) const

Related 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