ADTF  3.18.2
is_stream_meta_type< T >

type traits concept test template to check wether a type T is a type can be used for Stream Meta Type or not. More...

Public Types

enum  { value = sizeof(test<T>(nullptr)) == sizeof(char) }
 Value test type.
 

Private Types

typedef char one
 checked type one
 
typedef long two
 other types two
 

Static Private Member Functions

template<typename C >
static one test (decltype(&C::MetaTypeName))
 test function to test if type T has a string literal MetaTypeName defined. More...
 
template<typename C >
static two test (...)
 negative test function to test if type T has a string literal MetaTypeName defined. More...
 

Detailed Description

template<typename T>
class adtf::streaming::flash::is_stream_meta_type< T >

type traits concept test template to check wether a type T is a type can be used for Stream Meta Type or not.

it must define a string literal called MetaTypeName

Template Parameters
TThe type to test

Definition at line 370 of file streamtype_intf.h.

Member Function Documentation

◆ test() [1/2]

static two test (   ...)
staticprivate

negative test function to test if type T has a string literal MetaTypeName defined.

Returns
the type two

◆ test() [2/2]

static one test ( decltype &::MetaTypeName  )
staticprivate

test function to test if type T has a string literal MetaTypeName defined.

Returns
the type one