clipsmm - C++ CLIPS Interface Library

clipsmm logo
Classes | Public Member Functions | Private Attributes | Friends | List of all members
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 *)
 

Constructor & Destructor Documentation

◆ any() [1/3]

CLIPS::any::any ( )
inline

Referenced by operator=().

◆ any() [2/3]

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

◆ any() [3/3]

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

◆ ~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().

◆ operator=() [2/2]

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

References any().

◆ swap()

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

References content.

◆ type()

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

Friends And Related Function Documentation

◆ any_cast

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

Member Data Documentation

◆ content

placeholder* CLIPS::any::content
private

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


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

Generated on Wed Jul 21 2021 00:00:00 for clipsmm by doxygen 1.9.1