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

#include "BCL.hpp"

Public Member Functions

 BCLFacet (const QDomElement &facetElement)
std::string field () const
std::vector< std::pair
< std::string, uint > > 
items () const
std::string label () const

Detailed Description

This gives information about items from a BCL facet from a meta search result.

A facet is an optional search filter which may be applied to narrow down search results.

Constructor & Destructor Documentation

openstudio::BCLFacet::BCLFacet ( const QDomElement &  facetElement)

Member Function Documentation

std::string openstudio::BCLFacet::field ( ) const

Field name of the facet to use during meta searches, e.g.

'construction_type'

std::vector<std::pair<std::string, uint> > openstudio::BCLFacet::items ( ) const

Possible values for the facet as well as the number of search results after applying each value, e.g.

[['steel framed', 30], ['metal building', 21], ...]

std::string openstudio::BCLFacet::label ( ) const

Human readable name of the facet, e.g.

'Construction Type'