66 std::string prop_value = value;
67 if ( !prop_value.empty() && prop_value[0] ==
'"' && prop_value[prop_value.size() - 1] ==
'"' )
68 prop_value = prop_value.substr( 1, prop_value.size() - 2 );
70 std::string client, prop_name;
71 auto pos = key.rfind(
'.' );
72 if ( pos == std::string::npos ) {
75 client = key.substr( 0, pos );
76 prop_name = key.substr( pos + 1 );
time_t start_time() const
const std::string & os() const
const std::string & machine() const
const std::vector< std::string > & environment() const
const std::string & dir() const
const std::string & release_version() const
const PropertyPairList & propertyPairs() const
static const CLID & classID()
std::ostream & dump(std::ostream &, bool isXML, int indent) const override
std::string m_release_version
std::vector< std::string > m_environ
const std::string & hostname() const
const std::string & os_version() const
void addProperty(const std::string &key, const std::string &value)
const std::string & cmtconfig() const