All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
openstudio::TimeSeriesIdentifier Class Reference

#include <SqlFileTimeSeriesQuery.hpp>

Public Member Functions

boost::optional< std::string > name () const
 Get name, if specified. More...
boost::optional< boost::regex > regex () const
 Get regex, if specified. More...
 TimeSeriesIdentifier (const std::string &name)
 Construct from name. More...
 TimeSeriesIdentifier (const boost::regex &re)
 Construct from regex. More...

Detailed Description

Small class to let users identify a time series by name, or a set of time series by regex.

Constructor & Destructor Documentation

openstudio::TimeSeriesIdentifier::TimeSeriesIdentifier ( const std::string &  name)

Construct from name.

openstudio::TimeSeriesIdentifier::TimeSeriesIdentifier ( const boost::regex &  re)

Construct from regex.

Member Function Documentation

boost::optional<std::string> openstudio::TimeSeriesIdentifier::name ( ) const

Get name, if specified.

boost::optional<boost::regex> openstudio::TimeSeriesIdentifier::regex ( ) const

Get regex, if specified.