inicpp
C++ parser of INI files with schema validation.
inicpp::internal_enum_type Class Reference

#include <types.h>

Public Member Functions

 internal_enum_type ()
 
 internal_enum_type (const std::string &value)
 
 internal_enum_type (const char *value)
 
 internal_enum_type (const internal_enum_type &other)
 
 internal_enum_type (bool)
 
 internal_enum_type (int64_t)
 
 internal_enum_type (uint64_t)
 
 internal_enum_type (double)
 
internal_enum_typeoperator= (const internal_enum_type &other)
 
 operator std::string () const
 
 operator double () const
 
bool operator== (const internal_enum_type &other)
 
bool operator!= (const internal_enum_type &other)
 
bool operator< (const internal_enum_type &other)
 

Detailed Description

Inicpp enumeration type.

Definition at line 14 of file types.h.

Constructor & Destructor Documentation

inicpp::internal_enum_type::internal_enum_type ( )
inline

Default constructor

Definition at line 18 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( const std::string &  value)
inline

Constructor with initial value

Definition at line 22 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( const char *  value)
inline

Constructor with initial value

Definition at line 26 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( const internal_enum_type other)
inline

Copy constructor

Definition at line 30 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( bool  )
inlineexplicit

Conversion contructor - only for template compilation, allways throws std::runtime_error

Definition at line 35 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( int64_t  )
inlineexplicit

Conversion contructor - only for template compilation, allways throws std::runtime_error

Definition at line 40 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( uint64_t  )
inlineexplicit

Conversion contructor - only for template compilation, allways throws std::runtime_error

Definition at line 45 of file types.h.

inicpp::internal_enum_type::internal_enum_type ( double  )
inlineexplicit

Conversion contructor - only for template compilation, allways throws std::runtime_error

Definition at line 50 of file types.h.

Member Function Documentation

inicpp::internal_enum_type::operator double ( ) const
inline

Conversion operator to double type - allways throws, implemented because of some template usage.

Exceptions
allwaysstd::runtime_error exception

Definition at line 71 of file types.h.

inicpp::internal_enum_type::operator std::string ( ) const
inline

Conversion operator to std::string type

Definition at line 62 of file types.h.

bool inicpp::internal_enum_type::operator!= ( const internal_enum_type other)
inline

Inequality operator

Definition at line 81 of file types.h.

bool inicpp::internal_enum_type::operator< ( const internal_enum_type other)
inline

Comparation less operator

Definition at line 86 of file types.h.

internal_enum_type& inicpp::internal_enum_type::operator= ( const internal_enum_type other)
inline

Assignment operator

Definition at line 56 of file types.h.

bool inicpp::internal_enum_type::operator== ( const internal_enum_type other)
inline

Equality operator

Definition at line 76 of file types.h.


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