WSF
WsfPProxyPath Class Reference

Represents a path or unique key to a value in the proxy. More...

#include <WsfPProxyPath.hpp>

Public Member Functions

 WsfPProxyPath ()
 WsfPProxyPath (const WsfPProxyPath &aRhs)
 WsfPProxyPath (const WsfPProxyPath &aRhs, size_t aSubPathSize)
 WsfPProxyPath (const WsfPProxyKey &aEntry)
WsfPProxyPathoperator+= (size_t aIndex)
WsfPProxyPathoperator+= (const std::string &aStr)
WsfPProxyPathoperator+= (const WsfPProxyPath &aSuffixPath)
WsfPProxyPathoperator+= (const WsfPProxyKey &aEntry)
WsfPProxyPath operator+ (const WsfPProxyKey &aEntry) const
WsfPProxyPath operator+ (const WsfPProxyPath &aPath) const
WsfPProxyPath operator+ (const std::string &aEntry) const
bool Push (const WsfPProxyValue &aBaseValue, const std::string &aAttrName)
bool operator== (const WsfPProxyPath &aRhs) const
bool operator!= (const WsfPProxyPath &aRhs) const
bool operator< (const WsfPProxyPath &aRhs) const
bool operator>= (const WsfPProxyPath &aRhs) const
WsfPProxyValue Lookup (WsfPProxyValue aRoot)
bool IsPrefixOf (const WsfPProxyPath &aPath) const
size_t size () const
const WsfPProxyKeyoperator[] (size_t i) const
WsfPProxyKeyoperator[] (size_t i)
void Clear ()
void Swap (WsfPProxyPath &aRhs)
std::string ToString (const WsfPProxyValue &aRootProxy) const
std::string ToString (const WsfPProxyValue &aRootProxy, size_t aEntryIndex) const
std::vector< std::string > ToStringList (const WsfPProxyValue &aRootProxy) const
void Pop ()
bool Empty () const
WsfPProxyKeyBack ()
const WsfPProxyKeyBack () const
size_t MemoryUsage () const
void Trim (size_t aPathLength)

Static Public Member Functions

static WsfPProxyPath FromString (WsfPProxyValue aRoot, const std::string &aStr)
static WsfPProxyPath FromStringList (WsfPProxyValue aRoot, const std::vector< std::string > &aStrList)
static WsfPProxyPath FromTypePath (WsfPProxyValue aRoot, const WsfParseTypePath &aStrList)

Detailed Description

Represents a path or unique key to a value in the proxy.

Constructor & Destructor Documentation

◆ WsfPProxyPath() [1/4]

◆ WsfPProxyPath() [2/4]

WsfPProxyPath::WsfPProxyPath ( const WsfPProxyPath & aRhs)
inline

References WsfPProxyPath().

◆ WsfPProxyPath() [3/4]

WsfPProxyPath::WsfPProxyPath ( const WsfPProxyPath & aRhs,
size_t aSubPathSize )
inline

References begin(), and WsfPProxyPath().

◆ WsfPProxyPath() [4/4]

WsfPProxyPath::WsfPProxyPath ( const WsfPProxyKey & aEntry)
inline

Member Function Documentation

◆ Back() [1/2]

◆ Back() [2/2]

const WsfPProxyKey & WsfPProxyPath::Back ( ) const
inline

◆ Clear()

void WsfPProxyPath::Clear ( )
inline

◆ Empty()

◆ FromString()

WsfPProxyPath WsfPProxyPath::FromString ( WsfPProxyValue aRoot,
const std::string & aStr )
static

Convert a string representing a proxy path to an actual proxy path object. The string should be in the form: A.B.C

References WsfPProxyValue::GetAtIndex(), WsfPProxyValue::GetAttr(), WsfPProxyStructValue::GetMemberIndex(), WsfPProxyValue::GetObjectMap(), WsfPProxyValue::IsStruct(), and WsfPProxyPath().

Referenced by wizard::ParseResults::GetBaseTypes().

◆ FromStringList()

◆ FromTypePath()

WsfPProxyPath WsfPProxyPath::FromTypePath ( WsfPProxyValue aRoot,
const WsfParseTypePath & aStrList )
static

◆ IsPrefixOf()

◆ Lookup()

◆ MemoryUsage()

size_t WsfPProxyPath::MemoryUsage ( ) const

◆ operator!=()

bool WsfPProxyPath::operator!= ( const WsfPProxyPath & aRhs) const
inline

References WsfPProxyPath().

◆ operator+() [1/3]

WsfPProxyPath WsfPProxyPath::operator+ ( const std::string & aEntry) const
inline

References WsfPProxyPath().

◆ operator+() [2/3]

WsfPProxyPath WsfPProxyPath::operator+ ( const WsfPProxyKey & aEntry) const
inline

References WsfPProxyPath().

◆ operator+() [3/3]

WsfPProxyPath WsfPProxyPath::operator+ ( const WsfPProxyPath & aPath) const
inline

References size(), and WsfPProxyPath().

◆ operator+=() [1/4]

WsfPProxyPath & WsfPProxyPath::operator+= ( const std::string & aStr)
inline

References WsfPProxyPath().

◆ operator+=() [2/4]

WsfPProxyPath & WsfPProxyPath::operator+= ( const WsfPProxyKey & aEntry)
inline

References WsfPProxyPath().

◆ operator+=() [3/4]

WsfPProxyPath & WsfPProxyPath::operator+= ( const WsfPProxyPath & aSuffixPath)
inline

References WsfPProxyPath().

◆ operator+=() [4/4]

WsfPProxyPath & WsfPProxyPath::operator+= ( size_t aIndex)
inline

References WsfPProxyPath().

◆ operator<()

bool WsfPProxyPath::operator< ( const WsfPProxyPath & aRhs) const
inline

References WsfPProxyPath().

◆ operator==()

bool WsfPProxyPath::operator== ( const WsfPProxyPath & aRhs) const
inline

References WsfPProxyPath().

◆ operator>=()

bool WsfPProxyPath::operator>= ( const WsfPProxyPath & aRhs) const
inline

References WsfPProxyPath().

◆ operator[]() [1/2]

WsfPProxyKey & WsfPProxyPath::operator[] ( size_t i)
inline

◆ operator[]() [2/2]

const WsfPProxyKey & WsfPProxyPath::operator[] ( size_t i) const
inline

◆ Pop()

◆ Push()

bool WsfPProxyPath::Push ( const WsfPProxyValue & aBaseValue,
const std::string & aAttrName )

◆ size()

◆ Swap()

void WsfPProxyPath::Swap ( WsfPProxyPath & aRhs)
inline

References std::swap(), and WsfPProxyPath().

Referenced by std::swap().

◆ ToString() [1/2]

◆ ToString() [2/2]

◆ ToStringList()

◆ Trim()

void WsfPProxyPath::Trim ( size_t aPathLength)
inline

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