WSF
WsfStringInt Class Reference

#include <WsfStringId.hpp>

Inherits WsfStringId.

Public Member Functions

 WsfStringInt (const std::string &aSrc)
 WsfStringInt (const char *aSrc)
 WsfStringInt (const WsfStringId &aRhs)
 WsfStringInt (int aId)
 WsfStringInt ()
 operator int () const
WsfStringIntoperator= (int aRhs)
bool operator== (const WsfStringInt &aRhs) const
bool operator!= (const WsfStringInt &aRhs) const
 operator const std::string & () const

Friends

bool operator== (int aId, const WsfStringInt &aRhs)
 Equal relational operator for the case of an integer on the LHS and a StringId on the RHS.
bool operator!= (int aId, const WsfStringInt &aRhs)
 Not equal relational operator for the case of an integer on the LHS and a StringId on the RHS.

Detailed Description

Like WsfStringId, but can be converted to and from integer. Added when WsfStringId became more strict. In general, this class should not be used. It is only here for backwards compatibility

Constructor & Destructor Documentation

◆ WsfStringInt() [1/5]

WsfStringInt::WsfStringInt ( const std::string & aSrc)
inline

◆ WsfStringInt() [2/5]

WsfStringInt::WsfStringInt ( const char * aSrc)
inline

◆ WsfStringInt() [3/5]

WsfStringInt::WsfStringInt ( const WsfStringId & aRhs)
inline

◆ WsfStringInt() [4/5]

WsfStringInt::WsfStringInt ( int aId)
inlineexplicit

◆ WsfStringInt() [5/5]

WsfStringInt::WsfStringInt ( )
inline

Member Function Documentation

◆ operator const std::string &()

WsfStringInt::operator const std::string & ( ) const
inline

◆ operator int()

WsfStringInt::operator int ( ) const
inline

◆ operator!=()

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

References WsfStringInt().

◆ operator=()

WsfStringInt & WsfStringInt::operator= ( int aRhs)
inline

References WsfStringInt().

◆ operator==()

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

References WsfStringInt().

◆ operator!=

bool operator!= ( int aId,
const WsfStringInt & aRhs )
friend

Not equal relational operator for the case of an integer on the LHS and a StringId on the RHS.

References WsfStringInt().

◆ operator==

bool operator== ( int aId,
const WsfStringInt & aRhs )
friend

Equal relational operator for the case of an integer on the LHS and a StringId on the RHS.

References WsfStringInt().


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