QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::any Class Reference

#include <QxAny.h>

Classes

struct  holder
 
struct  placeholder
 

Public Types

typedef const std::type_info & type_check
 

Public Member Functions

 any ()
 
 any (const any &other)
 
 ~any ()
 
template<typename ValueType >
 any (const ValueType &value)
 
anyswap (any &other)
 
template<typename ValueType >
anyoperator= (const ValueType &other)
 
anyoperator= (any other)
 
bool empty () const
 
void clear ()
 
type_check type () const
 

Private Attributes

placeholdercontent
 

Friends

template<typename ValueType >
ValueType * qx::any_cast (any *)
 
template<typename ValueType >
ValueType * qx::unsafe_any_cast (any *)
 

Detailed Description

Definition at line 71 of file QxAny.h.

Member Typedef Documentation

◆ type_check

typedef const std::type_info& qx::any::type_check

Definition at line 80 of file QxAny.h.

Constructor & Destructor Documentation

◆ any() [1/3]

qx::any::any ( )
inline

Definition at line 85 of file QxAny.h.

◆ any() [2/3]

qx::any::any ( const any & other)
inline

Definition at line 86 of file QxAny.h.

◆ ~any()

qx::any::~any ( )
inline

Definition at line 87 of file QxAny.h.

◆ any() [3/3]

template<typename ValueType >
qx::any::any ( const ValueType & value)
inline

Definition at line 90 of file QxAny.h.

Member Function Documentation

◆ clear()

void qx::any::clear ( )
inline

Definition at line 99 of file QxAny.h.

◆ empty()

bool qx::any::empty ( ) const
inline

Definition at line 98 of file QxAny.h.

◆ operator=() [1/2]

any & qx::any::operator= ( any other)
inline

Definition at line 97 of file QxAny.h.

◆ operator=() [2/2]

template<typename ValueType >
any & qx::any::operator= ( const ValueType & other)
inline

Definition at line 95 of file QxAny.h.

◆ swap()

any & qx::any::swap ( any & other)
inline

Definition at line 92 of file QxAny.h.

◆ type()

type_check qx::any::type ( ) const
inline

Definition at line 100 of file QxAny.h.

Friends And Related Symbol Documentation

◆ qx::any_cast

template<typename ValueType >
ValueType * qx::any_cast ( any * )
friend

◆ qx::unsafe_any_cast

template<typename ValueType >
ValueType * qx::unsafe_any_cast ( any * )
friend

Member Data Documentation

◆ content

placeholder* qx::any::content
private

Definition at line 123 of file QxAny.h.


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