|
WSF
|
#include <WsfPProxyValue.hpp>


Public Member Functions | |
| WsfPProxyValue () | |
| WsfPProxyValue (void *aDataPtr, WsfPProxyType const *aTypePtr) | |
| WsfPProxyValue (const WsfPProxyValue &)=default | |
| WsfPProxyValue (WsfPProxyValue &&)=default | |
| WsfPProxyValue & | operator= (const WsfPProxyValue &)=default |
| WsfPProxyValue & | operator= (WsfPProxyValue &&)=default |
| virtual | ~WsfPProxyValue ()=default |
| bool | IsBasicType () const |
| bool | IsStruct () const |
| bool | IsValid () const |
| void * | GetDataPtr () const |
| const WsfPProxyType * | GetType () const |
| WsfPProxyValue | GetAttr (const WsfPProxyKey &aEntry) const |
| WsfPProxyValue | GetAttr (const std::string &aName) const |
| WsfPProxyValue | GetAttr (size_t aIndex) const |
| bool | SwapAttr (const WsfPProxyKey &aEntry, WsfPProxyValue &aValue) const |
| Set attr, except the old value is saved. | |
| WsfPProxyValue | GetAtIndex (size_t aIndex) const |
| size_t | GetAttrCount () const |
| std::string | NameAtIndex (size_t aIndex) const |
| virtual size_t | GetMemberIndex (const std::string &aName) const |
| virtual WsfPProxyType * | GetMemberType (const std::string &aName) const |
| virtual WsfPProxyType * | GetMemberType (size_t aMemberIndex) const |
| WsfPProxyList * | GetList () const |
| WsfPProxyObjectMap * | GetObjectMap () const |
| bool | Copy (WsfPProxyValue aSrc, int flags=WsfProxy::cCOPY_ALL) const |
| void | SetValue (const std::string &aText) |
| void | SetBoolValue (bool value) |
| std::string | ValueToString () const |
| WsfPProxyValue | Copy (int flags=WsfProxy::cCOPY_ALL) const |
| void | SetUnset () |
| void | ClearUnset () |
| bool | IsUnset () const |
| bool | IsInherited () const |
| void | SetInherited (bool aIsInherited) |
| WsfPProxyPath * | GetBasePath () const |
| operator bool () const | |
| operator bool () | |
| bool | operator== (const WsfPProxyValue &aRhs) const |
| bool | operator< (const WsfPProxyValue &aRhs) const |
| void | Delete () |
| void | Swap (WsfPProxyValue &aRhs) noexcept |
| WsfPProxyValue | operator[] (const char *aAttrName) |
| WsfPProxyValue | operator[] (const std::string &aAttrName) |
| WsfPProxyValue | operator[] (size_t aIndex) |
| WsfPProxyHash | Hash () |
| WsfPProxyValue | Lookup (const WsfPProxyPath &aPath, size_t aElements=0x7fffffff) const |
| WsfPProxyValue | Lookup (const WsfParseTypePath &aPath) const |
| WsfPProxyValue & | operator= (const std::string &aStringValue) |
| WsfPProxyValue & | operator= (const char *aStringPtr) |
| WsfPProxyValue & | operator= (bool aBoolValue) |
| bool | GetIntegerValue (int &aValue) |
| void | SetIntegerValue (int aValue) |
| bool | IsBoolValue () |
| bool | GetBoolValue () |
| void | DebugOut (std::ostream &aStream, unsigned int aDepth=0) const |
| bool | IsAttributeUsable (const std::string &aAttribute) const noexcept |
Static Public Member Functions | |
| static WsfPProxyValue | ConstructNew (const WsfPProxyType *aType) |
Protected Member Functions | |
| template<typename T> | |
| T * | CastToValue () const |
Protected Attributes | |
| const WsfPProxyType * | mTypePtr |
| void * | mDataPtr |
|
inline |
References mDataPtr, and mTypePtr.
Referenced by ConstructNew(), Copy(), Copy(), GetAtIndex(), GetAttr(), GetAttr(), GetAttr(), WsfPProxyBasicValue::IsEqual(), Lookup(), Lookup(), operator<(), operator=(), operator=(), operator=(), operator=(), operator=(), operator==(), operator[](), operator[](), operator[](), Swap(), SwapAttr(), WsfPProxyBasicValue::WsfPProxyBasicValue(), WsfPProxyBasicValue::WsfPProxyBasicValue(), WsfPProxyBasicValue::WsfPProxyBasicValue(), WsfPProxyStructValue::WsfPProxyStructValue(), WsfPProxyStructValue::WsfPProxyStructValue(), WsfPProxyStructValue::WsfPProxyStructValue(), WsfPProxyValue(), WsfPProxyValue(), and ~WsfPProxyValue().
|
inline |
|
default |
References WsfPProxyValue().
|
default |
References WsfPProxyValue().
|
virtualdefault |
References ConstructNew(), IsBasicType(), IsStruct(), and WsfPProxyValue().
|
protected |
References GetDataPtr(), and mTypePtr.
| void WsfPProxyValue::ClearUnset | ( | ) |
References mDataPtr, and mTypePtr.
Referenced by WsfPProxyNode::ClearUnset(), WsfPProxyStructType::CopyInstance(), and WsfPProxyUndo::SetUnset().
|
static |
References WsfPProxyType::Construct(), WsfPProxyType::GetDataSize(), and WsfPProxyValue().
Referenced by WsfPProxySatisfy::BuildSequenceEquations(), Copy(), WsfPProxyRegistry::CreateDefaultStruct(), WsfPProxySatisfy::EquationExpression(), WsfPProxySatisfy::FollowAction(), WsfPProxy::NewValue(), WsfPProxySerialize::PreSerialize(), WsfPProxyList::PushBack(), WsfPProxySerialize::Serialize(), WsfPM_Platform::SetCommanderName(), WsfPProxyRegistry::Setup(), and ~WsfPProxyValue().
| WsfPProxyValue WsfPProxyValue::Copy | ( | int | flags = WsfProxy::cCOPY_ALL | ) | const |
References ConstructNew(), mDataPtr, mTypePtr, and WsfPProxyValue().
| bool WsfPProxyValue::Copy | ( | WsfPProxyValue | aSrc, |
| int | flags = WsfProxy::cCOPY_ALL ) const |
References WsfPProxyType::IsTypeOf(), mDataPtr, mTypePtr, and WsfPProxyValue().
Referenced by WsfPM_Platform::AddPart(), WsfPProxySatisfy::ApplyEquations(), WsfPProxyNode::Assign(), WsfPProxyRegistry::BuildBasicRootFromBasicTypes(), WsfPProxyListType::Copy(), WsfPProxyRegistry::CreateDefaultStruct(), WsfPProxySatisfy::FollowAction(), WsfPProxy::PropagateNodeAddition(), WsfPProxyNode::ResetToInheritedValue(), WsfPProxySatisfy::SatisfyValueRule(), WsfPProxySatisfy::SolveEquation(), wizard::ParseWorker::StartSerialize(), and WsfPProxyStructType::SwapAttr().
| void WsfPProxyValue::DebugOut | ( | std::ostream & | aStream, |
| unsigned int | aDepth = 0 ) const |
References DebugOut(), WsfPProxyList::Get(), GetAttr(), GetAttrCount(), GetList(), GetObjectMap(), GetType(), WsfPProxyType::GetTypeName(), WsfPProxyObjectMap::GetValues(), mDataPtr, mTypePtr, NameAtIndex(), WsfPProxyList::Size(), and ValueToString().
Referenced by DebugOut().
| void WsfPProxyValue::Delete | ( | ) |
References mDataPtr, and mTypePtr.
Referenced by WsfPM_ObjectMap::Add(), WsfPProxyObjectMap::AddNew(), WsfPProxyUndo::Assign(), WsfPProxyDeserializeContext::DoActions(), WsfPProxyUndo::MapInsert(), WsfPProxyList::PopBack(), WsfPProxyList::Remove(), WsfPProxySatisfy::SatisfyValueRule(), WsfPProxySerialize::Serialize(), WsfPProxyList::Set(), wizard::ParseWorker::StartSerialize(), and WsfPProxyStructType::SwapAttr().
| WsfPProxyValue WsfPProxyValue::GetAtIndex | ( | size_t | aIndex | ) | const |
References mDataPtr, mTypePtr, and WsfPProxyValue().
Referenced by WsfPProxyRegistry::CreateDefaultStruct(), WsfPProxyPath::FromString(), WsfPProxyPath::FromStringList(), WsfPProxyPath::Lookup(), WsfPProxySatisfy::Lookup(), Lookup(), WsfPProxyStructType::MemoryUsage(), operator[](), WsfPProxyRegistry::PrintProxy(), wizard::ProxyHash::RecurseHash(), WsfPProxyPath::ToString(), WsfPProxyPath::ToString(), and WsfPProxyPath::ToStringList().
| WsfPProxyValue WsfPProxyValue::GetAttr | ( | const std::string & | aName | ) | const |
References mDataPtr, mTypePtr, and WsfPProxyValue().
|
inline |
References GetAttr(), WsfPProxyKey::GetIndex(), WsfPProxyKey::GetMapKey(), WsfPProxyKey::IsString(), and WsfPProxyValue().
Referenced by WsfPM_Platform::AcousticSignature(), WsfPM_ZoneDefinition::AuxData(), WsfPM_Transmitter::Bandwidth(), WsfPProxyRegistry::BuildBasicRootFromBasicTypes(), WsfPProxySatisfy::BuildSequenceEquations(), WsfPM_Platform::CommandChainNames(), WsfPM_Platform::CommanderName(), WsfPM_Platform::CreationTime(), DebugOut(), WsfPM_Platform::Destructible(), WsfPM_Waypoint::EndOfPath(), WsfPM_WaypointMover::EndOfPath(), WsfPM_Waypoint::ExecuteScript(), WsfPProxySatisfy::FindBindingAddress2(), WsfPProxySatisfy::FollowAction(), WsfPM_Transmitter::Frequency(), WsfPProxyPath::FromString(), WsfPProxyPath::FromStringList(), GetAttr(), WsfPM_Scenario::GetClassificationLabel(), ColorProxyUtil::GetColor(), WsfPProxyNode::GetStablePath(), WsfPM_Waypoint::GetTurnDirection(), WsfPM_Waypoint::GetWaypointType(), WsfPM_Waypoint::GotoLabel(), WsfPM_Platform::Icon(), WsfPM_Platform::InfraredSignature(), WsfPM_Platform::InitialLocation(), WsfPM_Transmitter::InternalLoss(), WsfPM_ZoneDefinition::IsAbsolute(), IsAttributeUsable(), WsfPM_Waypoint::Label(), WsfPM_Weapon::LaunchedPlatformType(), WsfPM_CommLink::LinkDestinationCommName(), WsfPM_CommLink::LinkDestinationPlatformName(), WsfPM_Platform::LocationLLA(), WsfPProxyPath::Lookup(), WsfPProxySatisfy::Lookup(), Lookup(), Lookup(), WsfPProxySatisfy::LookupDesired(), WsfPM_ZoneDefinition::Negative(), WsfPM_PlatformPart::on(), WsfPM_PlatformPart::operational(), operator[](), operator[](), WsfPM_Platform::OpticalSignature(), WsfPM_Platform::PlatformRenamed(), WsfPM_Transmitter::Polarization(), WsfPM_Transmitter::Power(), WsfPM_Transmitter::PulseCompressionRatio(), WsfPM_Transmitter::PulseWidth(), WsfPM_Platform::RadarSignature(), WsfPM_ZoneDefinition::ReferencePlatform(), WsfPM_ZoneDefinition::ReferenceZone(), WsfPM_PlatformPart::restorable(), WsfPM_ZoneDefinition::SetDefinitionType(), WsfPM_Platform::SetHeading(), WsfPM_PlatformPart::setOn(), WsfPM_PlatformPart::setOperational(), WsfPM_Platform::SetPitch(), WsfPM_PlatformPart::setRestorable(), WsfPM_Platform::SetRoll(), WsfPM_Platform::Side(), WsfPM_Mover::StartAt(), WsfPM_Waypoint::TimeToPoint(), WsfPProxyPath::ToString(), WsfPProxyPath::ToString(), WsfPProxyPath::ToStringList(), WsfPProxyNode::UnsetAttribute(), wizard::Project::UpdateProxyEpoch(), WsfPM_Waypoint::UseDefaultClimbRate(), WsfPM_Waypoint::UseDefaultLinearAcceleration(), WsfPM_Waypoint::UseDefaultRadialAcceleration(), WsfPM_ZoneDefinition::UseLatLon(), WsfPM_ZoneDefinition::UseMGRS(), WsfPM_ZoneDefinition::UseOffset(), WsfPM_ZoneDefinition::UsePolar(), WsfPM_Mover::UsingRoute(), and WsfPM_Transmitter::Wavelength().
| WsfPProxyValue WsfPProxyValue::GetAttr | ( | size_t | aIndex | ) | const |
References mDataPtr, mTypePtr, and WsfPProxyValue().
| size_t WsfPProxyValue::GetAttrCount | ( | ) | const |
References mDataPtr, and mTypePtr.
Referenced by DebugOut().
| WsfPProxyPath * WsfPProxyValue::GetBasePath | ( | ) | const |
Returns the proxy path to the value this was originally copied from This is only available on struct instances, and only when an inheritance type relationship exists
References WsfPProxyPath::Empty(), WsfPProxyStructHeader::GetBasePath(), mDataPtr, and mTypePtr.
Referenced by WsfPProxyNode::GetBasePath(), WsfPProxyNode::GetInherited(), WsfPProxyNode::GetTypePath(), WsfPProxyNode::IsInheritedFromParent(), and WsfPProxyNode::IsOfUserType().
| bool WsfPProxyValue::GetBoolValue | ( | ) |
References WsfProxy::Bool::IsTrue().
Referenced by WsfPM_Platform::Destructible(), WsfPM_ZoneDefinition::IsAbsolute(), WsfPM_ZoneDefinition::Negative(), WsfPM_PlatformPart::on(), WsfPM_PlatformPart::operational(), WsfPM_PlatformPart::restorable(), wizard::Project::UpdateProxyEpoch(), WsfPM_Waypoint::UseDefaultClimbRate(), WsfPM_Waypoint::UseDefaultLinearAcceleration(), WsfPM_Waypoint::UseDefaultRadialAcceleration(), WsfPM_ZoneDefinition::UseLatLon(), WsfPM_ZoneDefinition::UseMGRS(), WsfPM_ZoneDefinition::UseOffset(), and WsfPM_ZoneDefinition::UsePolar().
|
inline |
References mDataPtr.
Referenced by WsfPProxyNode::Assign(), WsfPProxyNode::Assign(), CastToValue(), WsfPProxyListType::Copy(), WsfPProxyDiff::Diff(), WsfPProxyList::Insert(), WsfPProxyBasicValue::IsEqual(), WsfPProxyDiff::IsEqual(), WsfPProxyStructType::MemoryUsage(), operator=(), WsfPProxyList::PushBack(), wizard::ProxyHash::RecurseHash(), WsfPProxySatisfy::SatisfyValueRule(), WsfPProxySatisfy::SolveEquation(), WsfPProxyListType::SwapAttr(), and WsfPProxyVisitor::Visit().
| bool WsfPProxyValue::GetIntegerValue | ( | int & | aValue | ) |
References WsfProxy::BasicValueT< T, PROXY_TYPE_ID >::GetValue(), and WsfProxy::BasicValue::IsUnset().
Referenced by WsfPM_Waypoint::EndOfPath(), WsfPM_WaypointMover::EndOfPath(), WsfPM_Scenario::GetClassificationLabel(), ColorProxyUtil::GetColor(), WsfPM_Waypoint::GetTurnDirection(), WsfPM_Waypoint::GetWaypointType(), WsfPM_Router::HopLimit(), and wizard::Project::UpdateProxyEpoch().
| WsfPProxyList * WsfPProxyValue::GetList | ( | ) | const |
References mDataPtr, and mTypePtr.
Referenced by DebugOut(), WsfPProxyDiff::Diff(), WsfPProxySatisfy::FindBindingAddress2(), WsfPProxySatisfy::FollowAction(), WsfPProxyDiff::IsEqual(), WsfPM_List::list(), WsfPProxyUndo::ListPush(), WsfPProxyRegistry::PrintProxy(), wizard::ProxyHash::RecurseHash(), WsfPProxySatisfy::SolveEquation(), wizard::UndoProxyChange::UndoRedo(), and WsfPProxyVisitor::VisitNodes().
|
virtual |
Reimplemented in WsfPProxyStructValue.
|
virtual |
Reimplemented in WsfPProxyStructValue.
|
virtual |
Reimplemented in WsfPProxyStructValue.
| WsfPProxyObjectMap * WsfPProxyValue::GetObjectMap | ( | ) | const |
References mDataPtr, and mTypePtr.
Referenced by WsfPM_ZoneDefinition::AuxData(), WsfPProxyRegistry::BuildBasicRootFromBasicTypes(), WsfPM_Platform::CommandChainNames(), wizard::UndoProxyChange::createUndo(), DebugOut(), WsfPProxyDiff::Diff(), WsfPProxySatisfy::FollowAction(), WsfPProxyPath::FromString(), WsfPProxyPath::FromStringList(), wizard::ParseResults::GetBaseTypes(), wizard::ParseResults::GetFileNotifications(), WsfPM_ObjectMap::GetObjectMap(), WsfPM_ObjectMap::GetValuesT(), WsfPProxyDiff::IsEqual(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyUndo::MapDelete(), WsfPProxyUndo::MapInsert(), WsfPM_Platform::PlatformRenamed(), WsfPProxyRegistry::PrintProxy(), wizard::ProxyHash::RecurseHash(), wizard::EditAssist_Type2::SetTypeData(), wizard::UndoProxyChange::UndoRedo(), WsfPProxyVisitor::Visit(), and WsfPProxyVisitor::VisitNodes().
|
inline |
References mTypePtr.
Referenced by WsfPProxyObjectMap::AddNew(), WsfPM_Platform::AddPart(), WsfPProxyDeserialize::AddValue(), WsfPM_List::append(), WsfPProxyNode::Assign(), WsfPProxyNode::Assign(), WsfPProxyNode::Assign(), DebugOut(), WsfPProxyDiff::Diff(), wizard::ComponentPropertyManager::FindPartIcon(), WsfPProxySatisfy::FollowAction(), WsfPProxyNode::GetAttrName(), wizard::ParseResults::GetFileNotifications(), WsfPProxyNode::GetInherited(), WsfPProxyNode::GetInheritedTypeNames(), WsfPProxyNode::GetStablePath(), WsfPM_List::insert(), WsfPProxyNode::IsA_BasicType(), WsfPProxyNode::IsA_ListType(), WsfPProxyNode::IsA_MapType(), WsfPProxyNode::IsA_StructType(), IsBasicType(), WsfPM_Zone::IsDefinition(), WsfPProxyBasicValue::IsEqual(), WsfPProxyDiff::IsEqual(), IsStruct(), WsfPM_Zone::IsZoneSet(), WsfPProxySatisfy::LookupTypeLoad(), WsfPProxyUndo::MapInsert(), WsfPProxyStructType::MemoryUsage(), WsfPProxy::NewValue(), operator=(), WsfPProxyRegistry::PrintProxy(), WsfPProxy::PropagateNodeAddition(), WsfPProxy::PropagateNodeDeletion(), WsfPProxyPath::Push(), wizard::ProxyHash::RecurseHash(), WsfPProxySatisfy::Satisfy(), WsfPProxyList::Set(), wizard::EditAssist_Type2::SetTypeData(), WsfPProxySatisfy::SolveEquation(), WsfPProxyListType::SwapAttr(), WsfPProxyStructType::SwapAttr(), WsfPM_Comm::Type(), and WsfPProxyVisitor::VisitNodes().
| WsfPProxyHash WsfPProxyValue::Hash | ( | ) |
References mDataPtr, and mTypePtr.
Referenced by wizard::ProxyHash::RecurseHash().
|
noexcept |
References GetAttr().
| bool WsfPProxyValue::IsBasicType | ( | ) | const |
References GetType(), WsfPProxyType::IsBasicType(), and mTypePtr.
Referenced by WsfPM_ObjectMap::AssignEntry(), WsfPProxyRegistry::PrintProxy(), WsfPProxySatisfy::Satisfy(), WsfPProxySatisfy::SatisfyAttribute(), and ~WsfPProxyValue().
| bool WsfPProxyValue::IsBoolValue | ( | ) |
References WsfProxy::cBOOL_VALUE, and mTypePtr.
| bool WsfPProxyValue::IsInherited | ( | ) | const |
References mDataPtr, and mTypePtr.
Referenced by WsfPProxyNode::Assign(), ColorProxyUtil::GetColor(), WsfPProxyNode::IsInherited(), WsfPProxy::PropagateNodeChange(), and WsfPProxy::PropagateNodeDeletion().
| bool WsfPProxyValue::IsStruct | ( | ) | const |
References GetType(), WsfPProxyType::IsStruct(), and mTypePtr.
Referenced by wizard::ComponentPropertyManager::FindPartIcon(), WsfPProxyPath::FromString(), WsfPProxyPath::FromStringList(), wizard::ParseResults::GetFileNotifications(), WsfPProxyNode::GetStablePath(), WsfPProxyNode::IsInheritedFromParent(), WsfPProxyPath::ToString(), WsfPProxyPath::ToString(), WsfPProxyPath::ToStringList(), and ~WsfPProxyValue().
| bool WsfPProxyValue::IsUnset | ( | ) | const |
References mDataPtr, and mTypePtr.
Referenced by WsfPProxyNode::ClearUnset(), WsfPProxyStructType::CopyInstance(), wizard::ComponentPropertyManager::FindPartIcon(), WsfPProxyRegistry::PrintProxy(), wizard::ProxyHash::RecurseHash(), WsfPProxySatisfy::Satisfy(), WsfPProxySatisfy::SatisfyValueRule(), WsfPProxyUndo::SetUnset(), WsfPProxySatisfy::SolveEquation(), WsfPProxyNode::Unset(), WsfPProxyNode::UnsetAttribute(), wizard::Project::UpdateProxyEpoch(), WsfPProxyVisitor::Visit(), and WsfPProxyVisitor::VisitNodes().
|
inline |
References mTypePtr.
Referenced by WsfPProxyRegistry::BuildBasicRootFromBasicTypes(), WsfPM_ObjectMap::Exists(), wizard::ComponentPropertyManager::FindPartIcon(), wizard::ParseResultsProxyData::FindProxySourcePaths(), ColorProxyUtil::GetColor(), wizard::ParseResults::GetFileNotifications(), WsfPProxySatisfy::IsEqual(), operator bool(), operator bool(), WsfPProxyRegistry::PrintProxy(), wizard::EditAssist_Type2::SetTypeData(), and WsfPProxyStructType::SwapAttr().
| WsfPProxyValue WsfPProxyValue::Lookup | ( | const WsfParseTypePath & | aPath | ) | const |
References GetAttr(), and WsfPProxyValue().
| WsfPProxyValue WsfPProxyValue::Lookup | ( | const WsfPProxyPath & | aPath, |
| size_t | aElements = 0x7fffffff ) const |
References GetAtIndex(), GetAttr(), WsfPProxyKey::GetIndex(), WsfPProxyKey::GetMapKey(), WsfPProxyKey::IsString(), WsfPProxyPath::size(), and WsfPProxyValue().
Referenced by WsfPProxyUndo::Assign(), wizard::UndoProxyChange::createUndo(), wizard::ParseResults::GetBaseTypes(), WsfPProxyNode::IsOfUserType(), WsfPProxyUndo::ListPush(), WsfPProxySatisfy::LookupBasicValue(), wizard::EditAssist::MakeAssistant(), WsfPProxyUndo::MapDelete(), WsfPProxyUndo::MapInsert(), wizard::EditAssist_Type2::SetTypeData(), and WsfPProxyUndo::SetUnset().
| std::string WsfPProxyValue::NameAtIndex | ( | size_t | aIndex | ) | const |
References mTypePtr.
Referenced by DebugOut().
|
inline |
References IsValid().
|
inline |
References IsValid().
|
inline |
References mDataPtr, and WsfPProxyValue().
| WsfPProxyValue & WsfPProxyValue::operator= | ( | bool | aBoolValue | ) |
References operator=(), and WsfPProxyValue().
| WsfPProxyValue & WsfPProxyValue::operator= | ( | const char * | aStringPtr | ) |
References operator=(), and WsfPProxyValue().
| WsfPProxyValue & WsfPProxyValue::operator= | ( | const std::string & | aStringValue | ) |
References GetDataPtr(), GetType(), WsfPProxyType::IsBasicType(), and WsfPProxyValue().
|
default |
References WsfPProxyValue().
Referenced by operator=(), and operator=().
|
default |
References WsfPProxyValue().
|
inline |
References mDataPtr, and WsfPProxyValue().
|
inline |
References GetAttr(), and WsfPProxyValue().
|
inline |
References GetAttr(), and WsfPProxyValue().
|
inline |
References GetAtIndex(), and WsfPProxyValue().
| void WsfPProxyValue::SetBoolValue | ( | bool | value | ) |
References SetValue().
Referenced by WsfPM_PlatformPart::setOn(), WsfPM_PlatformPart::setOperational(), and WsfPM_PlatformPart::setRestorable().
| void WsfPProxyValue::SetInherited | ( | bool | aIsInherited | ) |
References mDataPtr, and mTypePtr.
Referenced by WsfPProxy::PropagateNodeAddition(), and WsfPProxyNode::ResetToInheritedValue().
| void WsfPProxyValue::SetIntegerValue | ( | int | aValue | ) |
References WsfProxy::BasicValueT< T, PROXY_TYPE_ID >::SetValue().
Referenced by WsfPM_ZoneDefinition::SetDefinitionType().
| void WsfPProxyValue::SetUnset | ( | ) |
References mDataPtr, and mTypePtr.
Referenced by WsfPProxyStructType::CopyInstance(), WsfPProxyUndo::SetUnset(), WsfPProxyStructType::SwapAttr(), and WsfPProxyNode::Unset().
| void WsfPProxyValue::SetValue | ( | const std::string & | aText | ) |
References mDataPtr, mTypePtr, and WsfPProxyBasicType::SetValue().
Referenced by SetBoolValue().
|
inlinenoexcept |
References mDataPtr, mTypePtr, std::swap(), and WsfPProxyValue().
Referenced by WsfPProxyUndo::MapInsert(), WsfPProxyList::Set(), and WsfPProxyObjectMapType::SwapAttr().
| bool WsfPProxyValue::SwapAttr | ( | const WsfPProxyKey & | aEntry, |
| WsfPProxyValue & | aValue ) const |
Set attr, except the old value is saved.
References mDataPtr, mTypePtr, and WsfPProxyValue().
Referenced by WsfPProxyUndo::Assign(), wizard::UndoProxyChange::createUndo(), and wizard::UndoProxyChange::UndoRedo().
| std::string WsfPProxyValue::ValueToString | ( | ) | const |
References WsfPProxyType::GetTypeName(), mDataPtr, mTypePtr, and WsfPProxyBasicType::ToString().
Referenced by WsfPM_Platform::AcousticSignature(), WsfPProxyDeserialize::AddValue(), WsfPM_Platform::CommanderName(), DebugOut(), WsfPM_Waypoint::ExecuteScript(), WsfPM_Scenario::GetClassificationLabel(), WsfPM_Waypoint::GotoLabel(), WsfPM_Platform::Icon(), WsfPM_Platform::InfraredSignature(), WsfPM_Waypoint::Label(), WsfPM_Weapon::LaunchedPlatformType(), WsfPM_CommLink::LinkDestinationCommName(), WsfPM_CommLink::LinkDestinationPlatformName(), WsfPM_Platform::OpticalSignature(), WsfPM_Transmitter::Polarization(), WsfPM_Platform::RadarSignature(), WsfPM_ZoneDefinition::ReferencePlatform(), WsfPM_ZoneDefinition::ReferenceZone(), WsfPM_Platform::Side(), WsfPM_Mover::StartAt(), wizard::Project::UpdateProxyEpoch(), and WsfPM_Mover::UsingRoute().
|
protected |
Referenced by ClearUnset(), Copy(), Copy(), DebugOut(), Delete(), GetAtIndex(), GetAttr(), GetAttr(), GetAttrCount(), GetBasePath(), GetDataPtr(), WsfPProxyStructValue::GetHeader(), GetList(), GetObjectMap(), Hash(), WsfPProxyBasicValue::IsEqual(), IsInherited(), IsUnset(), WsfPProxyBasicValue::Negate(), operator<(), operator==(), WsfPProxyBasicValue::Read(), SetInherited(), WsfPProxyBasicValue::SetUnset(), SetUnset(), WsfPProxyBasicValue::SetValue(), WsfPProxyBasicValue::SetValue(), SetValue(), Swap(), SwapAttr(), WsfPProxyBasicValue::ToInt(), WsfPProxyBasicValue::ToString(), ValueToString(), WsfPProxyValue(), and WsfPProxyValue().
|
protected |
Referenced by CastToValue(), ClearUnset(), Copy(), Copy(), DebugOut(), Delete(), GetAtIndex(), GetAttr(), GetAttr(), GetAttrCount(), GetBasePath(), GetList(), WsfPProxyStructValue::GetMemberIndex(), WsfPProxyStructValue::GetMemberType(), WsfPProxyStructValue::GetMemberType(), GetObjectMap(), WsfPProxyStructValue::GetStruct(), WsfPProxyBasicValue::GetType(), GetType(), Hash(), IsBasicType(), IsBoolValue(), WsfPProxyBasicValue::IsEqual(), IsInherited(), IsStruct(), IsUnset(), IsValid(), NameAtIndex(), SetInherited(), SetUnset(), SetValue(), Swap(), SwapAttr(), WsfPProxyBasicValue::ToInt(), WsfPProxyBasicValue::ToString(), ValueToString(), WsfPProxyBasicValue::WsfPProxyBasicValue(), WsfPProxyStructValue::WsfPProxyStructValue(), WsfPProxyValue(), and WsfPProxyValue().