NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
SDKAnyHandler Class Reference

This class wraps the SDKAny type. More...

#include <sdk_any_handler.h>

Inherits SDKAny.

Public Member Functions

 ~SDKAnyHandler ()
 Destroys internal any.
 
SDKAnyHandler & operator= (const SDKAny &any) noexcept
 Assign operator.
 
SDKAnyHandler & operator= (const SDKAnyHandler &any) noexcept
 Assign operator.
 
SDKAnyHandler & Attach (const SDKAny &any) noexcept
 Attaches a new any value.
 
SDKAnyHandler & Attach (const SDKString &str) noexcept
 Attaches existing value taking over the ownership.
 
SDKAnyHandler & Attach (const SDKArray &arr) noexcept
 Attaches existing value taking over the ownership.
 
SDKAny Detach () noexcept
 Detaches the any contents.
 
SDKString DetachAsString () noexcept
 Detaches string from any.
 
SDKArray DetachAsArray () noexcept
 Detaches array from any.
 
void Clear () noexcept
 Clears the any contents.
 
SDKAnyType GetType () const noexcept
 Returns the any type.
 
bool IsEmpty () const noexcept
 Returns true if any is an empty value.
 
bool IsNULL () const noexcept
 Returns true if any is a null value.
 
bool IsEmptyOrNULL () const noexcept
 Returns true if any is an empty or null value.
 
bool IsInteger () const noexcept
 Returns true if any is a ordinary number or a bool.
 
bool IsNumeric () const noexcept
 Returns true if any is a ordinary number or a bool.
 
bool IsString () const noexcept
 Returns true if any is a valid string.
 
bool IsArray () const noexcept
 Returns true if any is a valid array.
 
bool IsComponent () const noexcept
 Returns true if any is a valid component reference.
 
SDKResult ChangeType (SDKAnyType new_type) noexcept
 Changes an any type.
 
SDKResult Compare (const SDKAny &any_src) const noexcept
 Compares ScopedAny with the specified SDKAny.
 
std::wstring WString () const noexcept
 Returns SDKAny as std::wstring.
 
std::string ASCIIString () const noexcept
 Returns SDKAny as std::string.
 

Friends

bool operator== (const SDKAny &any_lhs, const SDKAny &any_rhs) noexcept
 Comparison Operators.
 

Detailed Description

This class wraps the SDKAny type.


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