|
|
| Base_object (std::initializer_list< std::pair< std::string, Any && >> init) |
| |
| template<typename T > |
std::shared_ptr< typename
T::element_type > | as () |
| | Dynamically casts this object to another type. Returns nullptr if it cannot be converted to the type. More...
|
| |
| template<typename T > |
| bool | is () |
| | Determines if this object is of the specified object type More...
|
| |
template<typename T >
| std::shared_ptr<typename T::element_type> cpp_client::Base_object::as |
( |
| ) |
|
|
inline |
Dynamically casts this object to another type. Returns nullptr if it cannot be converted to the type.
- Returns
- A pointer to the desired type, or nullptr if it could not be converted
template<typename T >
| bool cpp_client::Base_object::is |
( |
| ) |
|
|
inline |
Determines if this object is of the specified object type
- Returns
- true if the object is the object type, false otherwise
The documentation for this class was generated from the following files: