Embedded Template Library 1.0
Loading...
Searching...
No Matches
etl::type_def< TIdType, TValue > Class Template Reference

#include <type_def.h>

Public Types

typedef TValue value_type
 
typedef TIdType id_type
 

Public Member Functions

ETL_CONSTEXPR type_def (TValue value_)
 
ETL_CONSTEXPR type_def (const type_def &other)
 
ETL_CONSTEXPR operator TValue () const
 
ETL_CONSTEXPR14 type_defoperator++ ()
 
ETL_CONSTEXPR14 type_def operator++ (int)
 
ETL_CONSTEXPR14 type_defoperator-- ()
 
ETL_CONSTEXPR14 type_def operator-- (int)
 
ETL_CONSTEXPR14 type_defoperator+= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator+= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator-= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator-= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator*= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator*= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator/= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator/= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator%= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator%= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator&= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator&= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator|= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator|= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator^= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator^= (const type_def &rhs)
 
ETL_CONSTEXPR14 type_defoperator<<= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator>>= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator= (TValue rhs)
 
ETL_CONSTEXPR14 type_defoperator= (const type_def &rhs)
 
TValueget ()
 
ETL_CONSTEXPR const TValueget () const
 

Friends

ETL_CONSTEXPR bool operator> (const type_def &lhs, const type_def &rhs)
 
ETL_CONSTEXPR bool operator>= (const type_def &lhs, const type_def &rhs)
 
ETL_CONSTEXPR bool operator== (const type_def &lhs, const type_def &rhs)
 
ETL_CONSTEXPR bool operator!= (const type_def &lhs, const type_def &rhs)
 

Detailed Description

template<typename TIdType, typename TValue>
class etl::type_def< TIdType, TValue >

A template type to define strong typedefs. Usage:

// Short form.
ETL_TYPEDEF(int, mytype);
// Long form.
pair holds two objects of arbitrary type
Definition utility.h:164

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