BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlar::RefUtil Class Reference

#include <bdlar_refutil.h>

Static Public Member Functions

template<class t_TYPE >
static bsl::enable_if<!IsDynamic< t_TYPE >::value, AnyConstRef >::type makeAnyConstRef (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsDynamic< t_TYPE >::value, AnyConstRef >::type makeAnyConstRef (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if<!IsDynamic< t_TYPE >::value, AnyRef >::type makeAnyRef (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsDynamic< t_TYPE >::value, AnyRef >::type makeAnyRef (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsArray< t_TYPE >::value, ArrayRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsArray< t_TYPE >::value, ArrayConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsChoice< t_TYPE >::value, ChoiceRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsChoice< t_TYPE >::value, ChoiceConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsCustomized< t_TYPE >::value, CustomizedTypeRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsCustomized< t_TYPE >::value, CustomizedTypeConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsEnum< t_TYPE >::value, EnumRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsEnum< t_TYPE >::value, EnumConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsNullable< t_TYPE >::value, NullableValueRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsNullable< t_TYPE >::value, NullableValueConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsSequence< t_TYPE >::value, SequenceRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsSequence< t_TYPE >::value, SequenceConstRef >::type wrap (const t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeRef >::type wrap (t_TYPE &object)
 
template<class t_TYPE >
static bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeConstRef >::type wrap (const t_TYPE &object)
 

Member Function Documentation

◆ makeAnyConstRef() [1/2]

template<class t_TYPE >
bsl::enable_if< IsDynamic< t_TYPE >::value, AnyConstRef >::type bdlar::RefUtil::makeAnyConstRef ( const t_TYPE &  object)
inlinestatic

Make AnyConstRef to the specified object.

◆ makeAnyConstRef() [2/2]

template<class t_TYPE >
static bsl::enable_if< IsDynamic< t_TYPE >::value, AnyConstRef >::type bdlar::RefUtil::makeAnyConstRef ( const t_TYPE &  object)
static

Make AnyConstRef to the specified dynamic object.

◆ makeAnyRef() [1/2]

template<class t_TYPE >
bsl::enable_if< IsDynamic< t_TYPE >::value, AnyRef >::type bdlar::RefUtil::makeAnyRef ( t_TYPE &  object)
inlinestatic

Make AnyRef to the specified object.

◆ makeAnyRef() [2/2]

template<class t_TYPE >
static bsl::enable_if< IsDynamic< t_TYPE >::value, AnyRef >::type bdlar::RefUtil::makeAnyRef ( t_TYPE &  object)
static

Make AnyRef to the specified dynamic object.

◆ wrap() [1/14]

template<class t_TYPE >
bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
inlinestatic

Make ArrayConstRef to the specified "array" object.

◆ wrap() [2/14]

template<class t_TYPE >
static bsl::enable_if< IsChoice< t_TYPE >::value, ChoiceConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make ChoiceConstRef to the specified "choice" object.

◆ wrap() [3/14]

template<class t_TYPE >
static bsl::enable_if< IsCustomized< t_TYPE >::value, CustomizedTypeConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make CustomizedTypeConstRef to the specified "customized type" object.

◆ wrap() [4/14]

template<class t_TYPE >
static bsl::enable_if< IsEnum< t_TYPE >::value, EnumConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make EnumConstRef to the specified "enumeration" object.

◆ wrap() [5/14]

template<class t_TYPE >
static bsl::enable_if< IsNullable< t_TYPE >::value, NullableValueConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make NullableValueConstRef to the specified "nullable value" object.

◆ wrap() [6/14]

template<class t_TYPE >
static bsl::enable_if< IsSequence< t_TYPE >::value, SequenceConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make SequenceConstRef to the specified "sequence" object.

◆ wrap() [7/14]

template<class t_TYPE >
static bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeConstRef >::type bdlar::RefUtil::wrap ( const t_TYPE &  object)
static

Make SimpleTypeConstRef to the specified "simple" object.

◆ wrap() [8/14]

template<class t_TYPE >
bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
inlinestatic

Make ArrayRef to the specified "array" object.

◆ wrap() [9/14]

template<class t_TYPE >
static bsl::enable_if< IsChoice< t_TYPE >::value, ChoiceRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make ChoiceRef to the specified "choice" object.

◆ wrap() [10/14]

template<class t_TYPE >
static bsl::enable_if< IsCustomized< t_TYPE >::value, CustomizedTypeRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make CustomizedTypeRef to the specified "customized type" object.

◆ wrap() [11/14]

template<class t_TYPE >
static bsl::enable_if< IsEnum< t_TYPE >::value, EnumRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make EnumRef to the specified "enumeration" object.

◆ wrap() [12/14]

template<class t_TYPE >
static bsl::enable_if< IsNullable< t_TYPE >::value, NullableValueRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make NullableValueRef to the specified "nullable value" object.

◆ wrap() [13/14]

template<class t_TYPE >
static bsl::enable_if< IsSequence< t_TYPE >::value, SequenceRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make SequenceRef to the specified "sequence" object.

◆ wrap() [14/14]

template<class t_TYPE >
static bsl::enable_if< IsSimple< t_TYPE >::value, SimpleTypeRef >::type bdlar::RefUtil::wrap ( t_TYPE &  object)
static

Make SimpleTypeRef to the specified "simple" object.


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