Rcpp Version 1.0.9
Rcpp::enum_< Enum, Parent > Class Template Reference

#include <Module.h>

Public Types

typedef enum_< Enum, Parent > self
 

Public Member Functions

 enum_ (const char *name_)
 
 ~enum_ ()
 
selfvalue (const char *name_, Enum value_)
 

Private Types

typedef std::map< std::string, int > MAP
 
typedef MAP::value_type PAIR
 

Private Attributes

std::string name
 
MAP values
 
std::string parent_typeinfo_name
 

Detailed Description

template<typename Enum, typename Parent>
class Rcpp::enum_< Enum, Parent >

Definition at line 343 of file Module.h.

Member Typedef Documentation

◆ MAP

template<typename Enum , typename Parent >
typedef std::map< std::string, int > Rcpp::enum_< Enum, Parent >::MAP
private

Definition at line 363 of file Module.h.

◆ PAIR

template<typename Enum , typename Parent >
typedef MAP::value_type Rcpp::enum_< Enum, Parent >::PAIR
private

Definition at line 364 of file Module.h.

◆ self

template<typename Enum , typename Parent >
typedef enum_<Enum,Parent> Rcpp::enum_< Enum, Parent >::self

Definition at line 345 of file Module.h.

Constructor & Destructor Documentation

◆ enum_()

template<typename Enum , typename Parent >
Rcpp::enum_< Enum, Parent >::enum_ ( const char *  name_)
inline

Definition at line 347 of file Module.h.

◆ ~enum_()

template<typename Enum , typename Parent >
Rcpp::enum_< Enum, Parent >::~enum_ ( )
inline

Member Function Documentation

◆ value()

template<typename Enum , typename Parent >
self& Rcpp::enum_< Enum, Parent >::value ( const char *  name_,
Enum  value_ 
)
inline

Definition at line 355 of file Module.h.

References Rcpp::enum_< Enum, Parent >::values.

Member Data Documentation

◆ name

template<typename Enum , typename Parent >
std::string Rcpp::enum_< Enum, Parent >::name
private

Definition at line 362 of file Module.h.

Referenced by Rcpp::enum_< Enum, Parent >::~enum_().

◆ parent_typeinfo_name

template<typename Enum , typename Parent >
std::string Rcpp::enum_< Enum, Parent >::parent_typeinfo_name
private

Definition at line 366 of file Module.h.

Referenced by Rcpp::enum_< Enum, Parent >::~enum_().

◆ values

template<typename Enum , typename Parent >
MAP Rcpp::enum_< Enum, Parent >::values
private

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