clipsmm - C++ CLIPS Interface Library

clipsmm logo
CLIPS::any Class Reference

#include <any.h>

Classes

class  holder
 
class  placeholder
 

Public Member Functions

 any ()
 
template<typename ValueType>
 any (const ValueType &value)
 
 any (const any &other)
 
 ~any ()
 
anyswap (any &rhs)
 
template<typename ValueType>
anyoperator= (const ValueType &rhs)
 
anyoperator= (const any &rhs)
 
bool empty () const
 
const std::type_info & type () const
 

Private Attributes

placeholdercontent
 

Friends

template<typename ValueType>
ValueType * any_cast (any *operand)
 

Constructor & Destructor Documentation

◆ any() [1/3]

CLIPS::any::any ( )
inline

References content.

Referenced by any(), any_cast, operator=(), operator=(), and swap().

◆ any() [2/3]

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

References content.

◆ any() [3/3]

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

References any(), and content.

◆ ~any()

CLIPS::any::~any ( )
inline

References content.

Member Function Documentation

◆ empty()

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

References content.

◆ operator=() [1/2]

any & CLIPS::any::operator= ( const any & rhs)
inline

References any(), and swap().

◆ operator=() [2/2]

template<typename ValueType>
any & CLIPS::any::operator= ( const ValueType & rhs)
inline

References any(), and swap().

◆ swap()

any & CLIPS::any::swap ( any & rhs)
inline

References any(), and content.

Referenced by operator=(), and operator=().

◆ type()

const std::type_info & CLIPS::any::type ( ) const
inline

References content.

Referenced by any_cast.

Friends And Related Symbol Documentation

◆ any_cast

template<typename ValueType>
ValueType * any_cast ( any * operand)
friend

Member Data Documentation

◆ content

placeholder* CLIPS::any::content
private

Referenced by any(), any(), any(), any_cast, empty(), swap(), type(), and ~any().


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

Generated on Wed Jul 17 2024 00:00:00 for clipsmm by doxygen 1.13.2