Rcpp Version 0.12.12
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

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.

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

Definition at line 364 of file Module.h.

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

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

Definition at line 347 of file Module.h.

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

Definition at line 350 of file Module.h.

References Rcpp::Module::add_enum(), and getCurrentScope().

Here is the call graph for this function:

Member Function Documentation

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.

Member Data Documentation

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

Definition at line 362 of file Module.h.

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

Definition at line 366 of file Module.h.

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

Definition at line 365 of file Module.h.


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