WSF
WsfPM_ObjectMap Class Reference

#include <WsfPM_ObjectMap.hpp>

Inheritance diagram for WsfPM_ObjectMap:
Collaboration diagram for WsfPM_ObjectMap:

Public Types

using iterator = std::map<std::string, WsfPProxyValue>::iterator
using const_iterator = std::map<std::string, WsfPProxyValue>::const_iterator

Public Member Functions

 WsfPM_ObjectMap ()
 WsfPM_ObjectMap (const WsfPProxyNode &aNode)
WsfPProxyObjectMapGetObjectMap () const
std::vector< std::string > GetObjectNames () const
std::vector< std::string > GetAllObjectNames ()
iterator begin () const
iterator end () const
WsfPProxyNode Find (const std::string &aName) const
WsfPProxyNode At (const iterator &i) const
bool Exists (const std::string &aName) const
bool Remove (const std::string &aName, bool removedByUser=false)
WsfPProxyNode Add (const std::string &aName, WsfPProxyValue aEntry)
WsfPProxyNode AssignEntry (const std::string &aName, WsfPProxyValue aEntry)
bool Move (const std::string &aOldName, const std::string &aNewName)
bool CanMove (const std::string &aOldName, const std::string &aNewName)
void GetValues (std::vector< WsfPProxyNode > &aAll) const
void GetAllValues (std::vector< WsfPProxyNode > &aAll)
Public Member Functions inherited from WsfPProxyNode
void MoveTo (WsfPProxy *aProxy, const WsfPProxyPath &aPath, size_t aSubPathLength)
 WsfPProxyNode ()
 WsfPProxyNode (WsfPProxy *aProxy, const WsfPProxyPath &aPath)
 WsfPProxyNode (WsfPProxy *aProxy, const WsfPProxyPath &aPath, size_t aSubPathLength)
 WsfPProxyNode (WsfPProxy *aProxy, const WsfPProxyPath &aPath, WsfPProxyValue aValue)
 WsfPProxyNode (const WsfPProxyNode &aSrc)
WsfPProxyNode Root () const
WsfPProxyGetProxy () const
WsfPProxyValue GetRoot () const
WsfPProxyValue GetValue () const
WsfPProxyNode GetParent () const
WsfPProxyNode GetInherited () const
const WsfPProxyPathGetPath () const
std::string GetPathString () const
WsfPProxyPath GetStablePath () const
WsfPProxyPath GetInheritedPath () const
const WsfPProxyPathGetTypePath () const
const WsfPProxyPathGetBasePath () const
std::string GetName () const
std::string GetAttrName () const
std::string GetInheritedName () const
std::string GetTypeName () const
std::vector< std::string > GetInheritedTypeNames () const
UtTextDocumentRange GetSourceDocumentRange () const
UtTextDocumentRange GetFirstDocumentRange () const noexcept
UtTextDocumentRange GetLastDocumentRange () const noexcept
std::string GetSourceText () const
WsfPProxyIndexNodeFindIndexNode () const
const std::set< WsfPProxyPath > * GetInheritedValuePaths () const
bool SwitchToBasicTypes ()
bool SwitchToUserTypes ()
bool UpdateParentPath (const WsfPProxyPath &oldParentPath, const WsfPProxyPath &newParentPath)
void ResetToInheritedValue ()
 operator bool () const
 operator bool ()
bool IsValid () const
bool IsNull () const
bool operator== (const WsfPProxyNode &aRhs) const
bool operator!= (const WsfPProxyNode &aRhs) const
WsfPProxyNodeoperator+= (size_t aIndex)
WsfPProxyNodeoperator+= (const std::string &aStr)
WsfPProxyNodeoperator+= (const WsfPProxyPath &aSuffixPath)
WsfPProxyNodeoperator+= (const WsfPProxyKey &aEntry)
WsfPProxyNodeoperator+= (const WsfParseTypePath &aParseTypePath)
WsfPProxyNode operator+ (const WsfPProxyPath &aSuffixPath) const
WsfPProxyNode operator+ (const WsfPProxyKey &aEntry) const
WsfPProxyNode operator+ (size_t aEntryIndex) const
WsfPProxyNode operator+ (const std::string &aEntry) const
WsfPProxyNode operator+ (const char *aEntry) const
WsfPProxyNode operator+ (const WsfParseTypePath &aParseTypePath) const
WsfPProxyNodeToParent ()
WsfPProxyNodeTrimPath (size_t aPathLength)
bool operator< (const WsfPProxyNode &aRhs) const
void SetBasePath (const WsfPProxyPath &aNewPath)
void NotifyValueChanged () const
void NotifyValueAdded () const
void NotifyValueRemoved () const
void NotifyValueMoved (const std::string &aOldName) const
void NotifyAttributeChanged (const char *aAttributeName) const
void NotifyBeforeValueChanged () const
void NotifyBeforeAttributeChanged (const char *aAttributeName) const
template<typename T>
void ChangeAttribute (const char *aAttributeName, const T &aValue)
bool Assign (const WsfPProxyValue &aValue) const
bool Assign (const std::string &aValue) const
bool Assign (int aIntValue) const
bool Assign (double aDoubleVal) const
bool Assign (bool aBoolVal) const
bool ClearUnset () const
bool Unset () const
bool UnsetAttribute (const std::string &aAttrName) const
bool AssignAttribute (const std::string &aAttrName, const std::string &aValue) const
bool AssignAttribute (const std::string &aAttrName, int aIntValue) const
bool AssignAttribute (const std::string &aAttrName, double aDoubleVal) const
bool AssignAttribute (const std::string &aAttrName, bool aBoolVal) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::String &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Double &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Int &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Latitude &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Longitude &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Length &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Length2 &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Time &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Speed &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::DataSize &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Power &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::PowerDB &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::SolidAngle &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Mass &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Force &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Torque &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Area &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::AreaDB &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Volume &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Time2 &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Acceleration &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Frequency &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Angle &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::AngularRate &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::AngularAcceleration &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::DataRate &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::MassDensity &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::MassTransfer &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Energy &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Fluence &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Irradiance &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Ratio &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::NoisePressure &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Pressure &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Temperature &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::SpecificRange &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::AngularInertia &aValue) const
bool AssignAttribute (const std::string &aAttrName, const WsfProxy::Position &aValue) const
bool Assign (const WsfProxy::String &aValue) const
bool Assign (const WsfProxy::Double &aValue) const
bool Assign (const WsfProxy::Int &aValue) const
bool Assign (const WsfProxy::Latitude &aValue) const
bool Assign (const WsfProxy::Longitude &aValue) const
bool Assign (const WsfProxy::Length &aValue) const
bool Assign (const WsfProxy::Length2 &aValue) const
bool Assign (const WsfProxy::Time &aValue) const
bool Assign (const WsfProxy::Speed &aValue) const
bool Assign (const WsfProxy::DataSize &aValue) const
bool Assign (const WsfProxy::Power &aValue) const
bool Assign (const WsfProxy::PowerDB &aValue) const
bool Assign (const WsfProxy::SolidAngle &aValue) const
bool Assign (const WsfProxy::Mass &aValue) const
bool Assign (const WsfProxy::Force &aValue) const
bool Assign (const WsfProxy::Torque &aValue) const
bool Assign (const WsfProxy::Area &aValue) const
bool Assign (const WsfProxy::AreaDB &aValue) const
bool Assign (const WsfProxy::Volume &aValue) const
bool Assign (const WsfProxy::Time2 &aValue) const
bool Assign (const WsfProxy::Acceleration &aValue) const
bool Assign (const WsfProxy::Frequency &aValue) const
bool Assign (const WsfProxy::Angle &aValue) const
bool Assign (const WsfProxy::AngularRate &aValue) const
bool Assign (const WsfProxy::AngularAcceleration &aValue) const
bool Assign (const WsfProxy::DataRate &aValue) const
bool Assign (const WsfProxy::MassDensity &aValue) const
bool Assign (const WsfProxy::MassTransfer &aValue) const
bool Assign (const WsfProxy::Energy &aValue) const
bool Assign (const WsfProxy::Fluence &aValue) const
bool Assign (const WsfProxy::Irradiance &aValue) const
bool Assign (const WsfProxy::Ratio &aValue) const
bool Assign (const WsfProxy::NoisePressure &aValue) const
bool Assign (const WsfProxy::Pressure &aValue) const
bool Assign (const WsfProxy::Temperature &aValue) const
bool Assign (const WsfProxy::SpecificRange &aValue) const
bool Assign (const WsfProxy::AngularInertia &aValue) const
bool Assign (const WsfProxy::Position &aValue) const
std::string ToJSON (int aOutputFlags=0) const
bool IsOfBasicType () const noexcept
bool IsA_BasicType () const noexcept
bool IsA_StructType () const noexcept
bool IsA_ListType () const noexcept
bool IsA_MapType () const noexcept
bool IsOfBasicType (const std::string &aTypeName) const noexcept
bool IsA_PredefinedStructTypeOf (const std::string &aTypeName) const noexcept
bool IsOfUserType (const std::string &aTypeName) const noexcept
bool IsA_StructTypeOf (const std::string &aTypeName) const noexcept
bool IsA_ListTypeOf (const std::string &aTypeName) const noexcept
bool IsA_MapTypeOf (const std::string &aTypeName) const noexcept
bool IsOfType (const std::string &aTypeName) const noexcept
bool IsInherited () const
bool IsInheritedFromParent () const
void Invalidate ()

Protected Member Functions

template<typename TYPE>
void GetValuesT (std::vector< TYPE > &aAll) const
template<typename TYPE>
void GetAllValuesT (std::vector< TYPE > &aAll)
template<typename T>
GetAttributeT (const std::string &aName) const

Additional Inherited Members

Static Public Member Functions inherited from WsfPProxyNode
static WsfPProxyNode FromProxy (WsfPProxy *aProxy)
WsfPProxyPath mPath

Member Typedef Documentation

◆ const_iterator

using WsfPM_ObjectMap::const_iterator = std::map<std::string, WsfPProxyValue>::const_iterator

◆ iterator

using WsfPM_ObjectMap::iterator = std::map<std::string, WsfPProxyValue>::iterator

Constructor & Destructor Documentation

◆ WsfPM_ObjectMap() [1/2]

WsfPM_ObjectMap::WsfPM_ObjectMap ( )

◆ WsfPM_ObjectMap() [2/2]

WsfPM_ObjectMap::WsfPM_ObjectMap ( const WsfPProxyNode & aNode)

Member Function Documentation

◆ Add()

◆ AssignEntry()

◆ At()

◆ begin()

◆ CanMove()

bool WsfPM_ObjectMap::CanMove ( const std::string & aOldName,
const std::string & aNewName )

◆ end()

WsfPM_ObjectMap::iterator WsfPM_ObjectMap::end ( ) const

◆ Exists()

◆ Find()

◆ GetAllObjectNames()

std::vector< std::string > WsfPM_ObjectMap::GetAllObjectNames ( )

◆ GetAllValues()

void WsfPM_ObjectMap::GetAllValues ( std::vector< WsfPProxyNode > & aAll)

◆ GetAllValuesT()

template<typename TYPE>
void WsfPM_ObjectMap::GetAllValuesT ( std::vector< TYPE > & aAll)
inlineprotected

◆ GetObjectMap()

◆ GetObjectNames()

std::vector< std::string > WsfPM_ObjectMap::GetObjectNames ( ) const

◆ GetValues()

void WsfPM_ObjectMap::GetValues ( std::vector< WsfPProxyNode > & aAll) const

References GetValuesT().

◆ GetValuesT()

template<typename TYPE>
void WsfPM_ObjectMap::GetValuesT ( std::vector< TYPE > & aAll) const
inlineprotected

◆ Move()

◆ Remove()


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved