Public Types | Public Member Functions | Static Public Member Functions | List of all members
ConstPrecisionAdaptor< Type, InputType, Container > Class Template Reference
Inheritance diagram for ConstPrecisionAdaptor< Type, InputType, Container >:
Inheritance graph
[legend]
Collaboration diagram for ConstPrecisionAdaptor< Type, InputType, Container >:
Collaboration graph
[legend]

Public Types

typedef Container< Type > FieldType
 
- Public Types inherited from refPtr< Field< Type > >
typedef T element_type
 
typedef Tpointer
 
typedef Foam::refCount::zero refCount
 

Public Member Functions

 ConstPrecisionAdaptor ()=default
 
 ConstPrecisionAdaptor (const Container< InputType > &input)
 
 ConstPrecisionAdaptor (tmp< Container< InputType >> &&input)
 
 ConstPrecisionAdaptor (const tmp< Container< InputType >> &input)
 
bool active () const noexcept
 
void commit ()
 
void set (const Container< InputType > &input)
 
void set (tmp< Container< InputType >> &&input)
 
void set (const tmp< Container< InputType >> &input)
 
- Public Member Functions inherited from refPtr< Field< Type > >
Foam::refPtr< TNew (Args &&... args)
 
Foam::refPtr< TNewFrom (Args &&... args)
 
constexpr refPtr () noexcept
 
constexpr refPtr (std::nullptr_t) noexcept
 
constexpr refPtr (T *p) noexcept
 
 refPtr (autoPtr< T > &&ptr) noexcept
 
 refPtr (std::unique_ptr< T > &&ptr) noexcept
 
constexpr refPtr (const T &obj) noexcept
 
 refPtr (refPtr< T > &&rhs) noexcept
 
 refPtr (const refPtr< T > &rhs)
 
 refPtr (const refPtr< T > &rhs, bool reuse)
 
 ~refPtr ()
 
bool good () const noexcept
 
bool is_const () const noexcept
 
bool is_pointer () const noexcept
 
bool movable () const noexcept
 
Tget () noexcept
 
const Tget () const noexcept
 
const Tcref () const
 
void cref (const refPtr< T > &other) noexcept
 
void cref (const T &obj) noexcept
 
void cref (const T *p) noexcept
 
Tref () const
 
void ref (T &obj) noexcept
 
void ref (T *p) noexcept
 
TconstCast () const
 
refPtr< TshallowClone () const noexcept
 
Trelease () noexcept
 
Tptr () const
 
void clear () const noexcept
 
void reset (refPtr< T > &&other) noexcept
 
void reset (T *p=nullptr) noexcept
 
void reset (autoPtr< T > &&other) noexcept
 
void reset (std::unique_ptr< T > &&other)
 
void swap (refPtr< T > &other) noexcept
 
const Toperator* () const
 
Toperator* ()
 
const Toperator-> () const
 
Toperator-> ()
 
const Toperator() () const
 
 operator bool () const noexcept
 
 operator const T & () const
 
void operator= (const refPtr< T > &other)
 
void operator= (refPtr< T > &&other) noexcept
 
void operator= (T *p)
 
void operator= (std::nullptr_t) noexcept
 
 operator tmp< T > ()
 
bool valid () const noexcept
 
bool empty () const noexcept
 

Static Public Member Functions

static const Container< Type > & select (const Container< InputType > &input, Container< Type > &other)
 
- Static Public Member Functions inherited from refPtr< Field< Type > >
static refPtr< TNew (Args &&... args)
 
static refPtr< TNewFrom (Args &&... args)
 
static word typeName ()
 

Detailed Description

template<class Type, class InputType, template< class > class Container = Field>
class Foam::ConstPrecisionAdaptor< Type, InputType, Container >

Definition at line 53 of file PrecisionAdaptor.H.

Member Typedef Documentation

◆ FieldType

typedef Container<Type> FieldType

Definition at line 93 of file PrecisionAdaptor.H.

Constructor & Destructor Documentation

◆ ConstPrecisionAdaptor() [1/4]

ConstPrecisionAdaptor ( )
default

◆ ConstPrecisionAdaptor() [2/4]

ConstPrecisionAdaptor ( const Container< InputType > &  input)
inlineexplicit

Definition at line 102 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

◆ ConstPrecisionAdaptor() [3/4]

ConstPrecisionAdaptor ( tmp< Container< InputType >> &&  input)
inlineexplicit

Definition at line 108 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

◆ ConstPrecisionAdaptor() [4/4]

ConstPrecisionAdaptor ( const tmp< Container< InputType >> &  input)
inlineexplicit

Definition at line 114 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

Member Function Documentation

◆ active()

bool active ( ) const
inlinenoexcept

Definition at line 123 of file PrecisionAdaptor.H.

References refPtr< Field< Type > >::good(), and refPtr< Field< Type > >::is_pointer().

Here is the call graph for this function:

◆ commit()

void commit ( )
inline

Definition at line 130 of file PrecisionAdaptor.H.

◆ set() [1/3]

void set ( const Container< InputType > &  input)
inline

Definition at line 134 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

◆ set() [2/3]

void set ( tmp< Container< InputType >> &&  input)
inline

Definition at line 140 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

◆ set() [3/3]

void set ( const tmp< Container< InputType >> &  input)
inline

Definition at line 146 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

◆ select()

static const Container<Type>& select ( const Container< InputType > &  input,
Container< Type > &  other 
)
inlinestatic

Definition at line 157 of file PrecisionAdaptor.H.

References Foam::input().

Here is the call graph for this function:

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