Classes | Namespaces | Functions
enum.cpp File Reference
#include <iostream>
#include <iomanip>
#include <functional>
#include <boost/enum.hpp>
#include <boost/concept_check.hpp>
#include <boost/function.hpp>
#include <boost/array.hpp>
#include <boost/type_traits/is_virtual_base_of.hpp>
Include dependency graph for enum.cpp:

Go to the source code of this file.

Classes

class  expanded::Level
struct  Log
struct  Point
struct  switch_enum< T >
struct  switch_enum< boolean >
struct  switch_enum< Points >
struct  detail::switch_helper< is_enum >
struct  detail::switch_helper< true >

Namespaces

namespace  detail
namespace  expanded

Functions

 BOOST_BITFIELD (MouseKey,(LeftButton)(0x0001)(RightButton)(0x0002)(Shift)(0x0004)(Control)(0x0008)(MiddleButton)(0x0010)) namespace expanded
 BOOST_ENUM (boolean,(False)(True)) namespace expanded
 BOOST_ENUM_VALUES (VirtualKey, int,(Zero)(0)(Space)(0x20)(Prior)(0x21)(Next)(0x22)(End)(0x23)(Home)(0x24)) namespace expanded
 BOOST_ENUM_VALUES (Points, Point,(Origin)(Point(0, 0))(LeftField)(Point(-100,-100))) template< typename T > void test_iterator()
int main (int argc, char *argv[])
ostream & operator<< (ostream &os, const Point &rhs)
bool operator== (const Point &lhs, const Point &rhs)
template<typename T >
void take_enum (const T &value)
template<typename T >
void test_bitfield (BOOST_DEDUCED_TYPENAME T::value_type invalid_value)
template<typename T >
void test_enum (BOOST_DEDUCED_TYPENAME T::value_type invalid_value)
template<typename T >
void test_get_by_index (BOOST_DEDUCED_TYPENAME T::index_type index, const boost::optional< T > &expected)
template<typename T >
void test_get_by_name (const std::string &str, const boost::optional< T > &expected)
template<typename T >
void test_get_by_value (BOOST_DEDUCED_TYPENAME T::value_type value, const boost::optional< T > &expected)
template<typename T , typename A >
void test_optional_method (const A &arg, const BOOST_DEDUCED_TYPENAME T::optional &expected, const char *method_name, const boost::function1< BOOST_DEDUCED_TYPENAME T::optional, A > &method)

Function Documentation

BOOST_BITFIELD ( MouseKey  ,
(LeftButton)(0x0001)(RightButton)(0x0002)(Shift)(0x0004)(Control)(0x0008)(MiddleButton)(0x0010)   
)

Definition at line 232 of file enum.cpp.

BOOST_ENUM ( boolean  ,
(False)(True)   
)

Definition at line 99 of file enum.cpp.

BOOST_ENUM_VALUES ( VirtualKey  ,
int  ,
(Zero)(0)(Space)(0x20)(Prior)(0x21)(Next)(0x22)(End)(0x23)(Home)(0x24)   
)

Definition at line 153 of file enum.cpp.

BOOST_ENUM_VALUES ( Points  ,
Point  ,
(Origin)(Point(0, 0))(LeftField)(Point(-100,-100))   
)

Definition at line 361 of file enum.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 612 of file enum.cpp.

ostream& operator<< ( ostream &  os,
const Point rhs 
)

Definition at line 350 of file enum.cpp.

bool operator== ( const Point lhs,
const Point rhs 
)

Definition at line 356 of file enum.cpp.

template<typename T >
void take_enum ( const T &  value)

Definition at line 433 of file enum.cpp.

template<typename T >
void test_bitfield ( BOOST_DEDUCED_TYPENAME T::value_type  invalid_value)

Definition at line 575 of file enum.cpp.

template<typename T >
void test_enum ( BOOST_DEDUCED_TYPENAME T::value_type  invalid_value)

Definition at line 525 of file enum.cpp.

template<typename T >
void test_get_by_index ( BOOST_DEDUCED_TYPENAME T::index_type  index,
const boost::optional< T > &  expected 
)

Definition at line 415 of file enum.cpp.

template<typename T >
void test_get_by_name ( const std::string &  str,
const boost::optional< T > &  expected 
)

Definition at line 400 of file enum.cpp.

template<typename T >
void test_get_by_value ( BOOST_DEDUCED_TYPENAME T::value_type  value,
const boost::optional< T > &  expected 
)

Definition at line 424 of file enum.cpp.

template<typename T , typename A >
void test_optional_method ( const A arg,
const BOOST_DEDUCED_TYPENAME T::optional &  expected,
const char *  method_name,
const boost::function1< BOOST_DEDUCED_TYPENAME T::optional, A > &  method 
)

Definition at line 378 of file enum.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


telekyb_defines
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:30