Base Framework
Public Member Functions | Public Attributes | List of all members
ObjectModel::String Class Reference

#include <base/objectmodel/ObjectModel.h>

Inherits ObjectModel::Value.

Public Member Functions

 String (const char *_value)
 
 String (const base::String &_value)
 
MemorySize getSize () const noexcept
 
bool isEmpty () const noexcept
 
virtual Type getType () const noexcept override
 
 operator const base::String & () const noexcept
 
- Public Member Functions inherited from ObjectModel::Value
base::String toString (unsigned int flags=DEFAULT_FORMATTING) const noexcept
 
base::String toStringNoFormatting () const noexcept
 
- Public Member Functions inherited from ReferenceCountedObject
 ReferenceCountedObject () noexcept
 
 ReferenceCountedObject (const ReferenceCountedObject &copy) noexcept
 
 ReferenceCountedObject (ReferenceCountedObject &&move) noexcept
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &copy) noexcept
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&move) noexcept
 
MemorySize getNumberOfReferences_INTERNAL () const noexcept
 
virtual bool useGarbageCollector () const noexcept
 
- Public Member Functions inherited from DynamicObject
 DynamicObject () noexcept
 
bool isValidObject () const noexcept
 
virtual ~DynamicObject () noexcept(false)
 
 _COM_AZURE_DEV__BASE__OVERRIDE_ALLOC ()
 

Public Attributes

base::String value
 

Additional Inherited Members

- Public Types inherited from ObjectModel::Value
enum  Type {
  TYPE_VOID, TYPE_BOOLEAN, TYPE_INTEGER, TYPE_FLOAT,
  TYPE_STRING, TYPE_BINARY, TYPE_ARRAY, TYPE_OBJECT,
  TYPE_COMMENT
}
 

Detailed Description

String.

Member Function Documentation

◆ getSize()

MemorySize ObjectModel::String::getSize ( ) const
noexcept

Returns the size of the string.

◆ getType()

virtual Type ObjectModel::String::getType ( ) const
inlineoverridevirtualnoexcept

Returns the type.

Implements ObjectModel::Value.

◆ isEmpty()

bool ObjectModel::String::isEmpty ( ) const
inlinenoexcept

Returns true if string is empty.