#include <SqlFileTimeSeriesQuery.hpp>
Public Member Functions | |
| KeyValueIdentifier (const boost::regex &re) | |
| Construct from regex. | |
| KeyValueIdentifier (const std::string &name) | |
| Construct from single name. | |
| KeyValueIdentifier (const std::vector< std::string > &names) | |
| Construct from multiple names. | |
| std::vector< std::string > | names () const |
| Get name(s). | |
| boost::optional< boost::regex > | regex () const |
| Get regex, if it exists. | |
Small class to let users identify one or more key values by name or regex.
| openstudio::KeyValueIdentifier::KeyValueIdentifier | ( | const std::string & | name | ) |
Construct from single name.
| openstudio::KeyValueIdentifier::KeyValueIdentifier | ( | const std::vector< std::string > & | names | ) |
Construct from multiple names.
Throws if names.size() == 0.
| openstudio::KeyValueIdentifier::KeyValueIdentifier | ( | const boost::regex & | re | ) |
Construct from regex.
| std::vector< std::string > openstudio::KeyValueIdentifier::names | ( | ) | const |
Get name(s).
| boost::optional< boost::regex > openstudio::KeyValueIdentifier::regex | ( | ) | const |
Get regex, if it exists.