App::ObjectIdentifier::String Class Reference

#include <ObjectIdentifier.h>

Public Member Functions

void checkImport (const App::DocumentObject *owner, const App::DocumentObject *obj=nullptr, String *objName=nullptr)
const std::string & getString () const
 Returns the string. More...
bool isForceIdentifier () const
bool isRealString () const
 Return true is string need to be quoted. More...
 operator const char * () const
 operator std::string () const
bool operator!= (const String &other) const
bool operator< (const String &other) const
bool operator== (const String &other) const
bool operator> (const String &other) const
bool operator>= (const String &other) const
 String (const std::string &s="", bool _isRealString=false, bool _forceIdentifier=false)
 String (std::string &&s, bool _isRealString=false, bool _forceIdentifier=false)
std::string toString (bool toPython=false) const
 Returns a possibly quoted string. More...


class ObjectIdentifier

Constructor & Destructor Documentation

◆ String() [1/2]

App::ObjectIdentifier::String::String ( const std::string &  s = "",
bool  _isRealString = false,
bool  _forceIdentifier = false 

◆ String() [2/2]

App::ObjectIdentifier::String::String ( std::string &&  s,
bool  _isRealString = false,
bool  _forceIdentifier = false 

Member Function Documentation

◆ checkImport()


App::ObjectIdentifier::String::FC_DEFAULT_CTORS ( String  )

◆ getString()

◆ isForceIdentifier()

bool App::ObjectIdentifier::String::isForceIdentifier ( ) const

◆ isRealString()

◆ operator const char *()

App::ObjectIdentifier::String::operator const char * ( ) const

◆ operator std::string()

App::ObjectIdentifier::String::operator std::string ( ) const

◆ operator!=()

bool App::ObjectIdentifier::String::operator!= ( const String other) const

◆ operator<()

bool App::ObjectIdentifier::String::operator< ( const String other) const

◆ operator==()

bool App::ObjectIdentifier::String::operator== ( const String other) const

◆ operator>()

bool App::ObjectIdentifier::String::operator> ( const String other) const

◆ operator>=()

bool App::ObjectIdentifier::String::operator>= ( const String other) const

◆ toString()

std::string ObjectIdentifier::String::toString ( bool  toPython = false) const

Returns a possibly quoted string.

Get a string representation of this object identifier.

String representation.

References App::quote().

Referenced by checkImport(), App::ObjectIdentifier::getStringList(), App::ObjectIdentifier::ResolveResults::resolveErrorString(), App::ObjectIdentifier::toPersistentString(), and App::ObjectIdentifier::toString().

Friends And Related Function Documentation

◆ ObjectIdentifier

friend class ObjectIdentifier

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