CGMES_3_0_0
Loading...
Searching...
No Matches
CIMPP::StringMeasurement Class Reference

StringMeasurement represents a measurement with values of type string. More...

#include <StringMeasurement.hpp>

Inheritance diagram for CIMPP::StringMeasurement:
Collaboration diagram for CIMPP::StringMeasurement:

Public Member Functions

const char * debugString () const override
const std::list< std::string > & getAttributeNames () const override
const std::string & getClassNamespaceUrl () const override
const std::string & getAttributeNamespaceUrl (const std::string &attrName) const override
const std::list< CGMESProfile > & getPossibleProfiles () const override
const CGMESProfile & getRecommendedProfile () const override
const std::list< CGMESProfile > & getPossibleAttributeProfiles (const std::string &attrName) const override
const std::list< CGMESProfile > & getPossibleProfilesIncludingAttributes () const override
void addPrimitiveGetFnsToMap (std::map< std::string, get_function > &get_map) const override
void addClassGetFnsToMap (std::map< std::string, class_get_function > &get_map) const override
void addEnumGetFnsToMap (std::map< std::string, get_function > &get_map) const override
bool isAssignableFrom (BaseClass *otherObject) const override
Public Member Functions inherited from BaseClass
void setRdfid (const std::string &id)
std::string getRdfid () const

Static Public Member Functions

static void addConstructToMap (std::unordered_map< std::string, BaseClass *(*)()> &factory_map)
static void addPrimitiveAssignFnsToMap (std::unordered_map< std::string, assign_function > &assign_map)
static void addClassAssignFnsToMap (std::unordered_map< std::string, class_assign_function > &assign_map)
static const BaseClassDefiner declare ()
Static Public Member Functions inherited from CIMPP::Measurement
static void addConstructToMap (std::unordered_map< std::string, BaseClass *(*)()> &factory_map)
static void addPrimitiveAssignFnsToMap (std::unordered_map< std::string, assign_function > &assign_map)
static void addClassAssignFnsToMap (std::unordered_map< std::string, class_assign_function > &assign_map)
static const BaseClassDefiner declare ()
Static Public Member Functions inherited from CIMPP::IdentifiedObject
static void addConstructToMap (std::unordered_map< std::string, BaseClass *(*)()> &factory_map)
static void addPrimitiveAssignFnsToMap (std::unordered_map< std::string, assign_function > &assign_map)
static void addClassAssignFnsToMap (std::unordered_map< std::string, class_assign_function > &assign_map)
static const BaseClassDefiner declare ()
Static Public Member Functions inherited from BaseClass
static void addConstructToMap (std::unordered_map< std::string, BaseClass *(*)()> &factory_map)
static void addPrimitiveAssignFnsToMap (std::unordered_map< std::string, assign_function > &assign_map)
static void addClassAssignFnsToMap (std::unordered_map< std::string, class_assign_function > &assign_map)
static const CIMPP::BaseClassDefiner declare ()

Public Attributes

std::list< CIMPP::StringMeasurementValue * > StringMeasurementValues
 The values connected to this measurement. Default: {}.
Public Attributes inherited from CIMPP::Measurement
CIMPP::PowerSystemResource * PowerSystemResource
 The power system resource that contains the measurement. Default: nullptr.
CIMPP::ACDCTerminal * Terminal
 One or more measurements may be associated with a terminal in the network. Default: nullptr.
CIMPP::String measurementType
 Specifies the type of measurement. For example, this specifies if the measurement represents an indoor temperature, outdoor temperature, bus voltage, line flow, etc. When the measurementType is set to Specialization, the type of Measurement is defined in more detail by the specialized class which inherits from Measurement. Default: "".
CIMPP::PhaseCode phases
 Indicates to which phases the measurement applies and avoids the need to use measurementType to also encode phase information (which would explode the types). The phase information in Measurement, along with measurementType and phases uniquely defines a Measurement for a device, based on normal network phase. Their meaning will not change when the computed energizing phasing is changed due to jumpers or other reasons. If the attribute is missing three phases (ABC) shall be assumed. Default: 0.
CIMPP::UnitMultiplier unitMultiplier
 The unit multiplier of the measured quantity. Default: 0.
CIMPP::UnitSymbol unitSymbol
 The unit of measure of the measured quantity. Default: 0.
Public Attributes inherited from CIMPP::IdentifiedObject
std::list< CIMPP::DiagramObject * > DiagramObjects
 The diagram objects that are associated with the domain object. Default: {}.
CIMPP::String description
 The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy. Default: "".
CIMPP::String energyIdentCodeEic
 The attribute is used for an exchange of the EIC code (Energy identification Code). The length of the string is 16 characters as defined by the EIC code. For details on EIC scheme please refer to ENTSO-E web site. Default: "".
CIMPP::String mRID
 Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements. Default: "".
CIMPP::String name
 The name is any free human readable and possibly non unique text naming the object. Default: "".
CIMPP::String shortName
 The attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum. Default: "".

Static Public Attributes

static const char debugName [] = "StringMeasurement"
Static Public Attributes inherited from CIMPP::Measurement
static const char debugName [] = "Measurement"
Static Public Attributes inherited from CIMPP::IdentifiedObject
static const char debugName [] = "IdentifiedObject"
Static Public Attributes inherited from BaseClass
static const char debugName [] = "BaseClass"

Protected Member Functions

std::map< std::string, AttrDetails > allAttrDetailsMap () const override

Detailed Description

StringMeasurement represents a measurement with values of type string.

Member Function Documentation

◆ addClassGetFnsToMap()

void StringMeasurement::addClassGetFnsToMap ( std::map< std::string, class_get_function > & get_map) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ addEnumGetFnsToMap()

void StringMeasurement::addEnumGetFnsToMap ( std::map< std::string, get_function > & get_map) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ addPrimitiveGetFnsToMap()

void StringMeasurement::addPrimitiveGetFnsToMap ( std::map< std::string, get_function > & get_map) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ allAttrDetailsMap()

std::map< std::string, AttrDetails > StringMeasurement::allAttrDetailsMap ( ) const
overrideprotectedvirtual

Reimplemented from CIMPP::Measurement.

◆ debugString()

const char * StringMeasurement::debugString ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getAttributeNames()

const std::list< std::string > & StringMeasurement::getAttributeNames ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getAttributeNamespaceUrl()

const std::string & StringMeasurement::getAttributeNamespaceUrl ( const std::string & attrName) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getClassNamespaceUrl()

const std::string & StringMeasurement::getClassNamespaceUrl ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getPossibleAttributeProfiles()

const std::list< CGMESProfile > & StringMeasurement::getPossibleAttributeProfiles ( const std::string & attrName) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getPossibleProfiles()

const std::list< CGMESProfile > & StringMeasurement::getPossibleProfiles ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getPossibleProfilesIncludingAttributes()

const std::list< CGMESProfile > & StringMeasurement::getPossibleProfilesIncludingAttributes ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ getRecommendedProfile()

const CGMESProfile & StringMeasurement::getRecommendedProfile ( ) const
overridevirtual

Reimplemented from CIMPP::Measurement.

◆ isAssignableFrom()

bool StringMeasurement::isAssignableFrom ( BaseClass * otherObject) const
overridevirtual

Reimplemented from CIMPP::Measurement.


The documentation for this class was generated from the following files: