Public Types | Public Member Functions | List of all members
one::null Class Reference

A Foam::one class with a null output adapter. More...

Inheritance diagram for one::null:
Inheritance graph
[legend]
Collaboration diagram for one::null:
Collaboration graph
[legend]

Public Types

typedef null value_type
 
- Public Types inherited from one
typedef one value_type
 

Public Member Functions

constexpr null () noexcept
 Default construct. More...
 
constexpr null (Istream &) noexcept
 Construct from Istream consumes no content. More...
 
- Public Member Functions inherited from one
constexpr one () noexcept
 Default construct. More...
 
constexpr one (Istream &) noexcept
 Construct from Istream consumes no content. More...
 
constexpr operator label () const noexcept
 Return 1 for label. More...
 
constexpr operator float () const noexcept
 Return 1 for float. More...
 
constexpr operator double () const noexcept
 Return 1 for double. More...
 
one operator[] (const label) const noexcept
 Component-wise or element-wise access returns one. More...
 

Detailed Description

A Foam::one class with a null output adapter.

Definition at line 180 of file one.H.

Member Typedef Documentation

◆ value_type

typedef null value_type

Definition at line 186 of file one.H.

Constructor & Destructor Documentation

◆ null() [1/2]

constexpr null ( )
inlinenoexcept

Default construct.

Definition at line 191 of file one.H.

◆ null() [2/2]

constexpr null ( Istream )
inlineexplicitnoexcept

Construct from Istream consumes no content.

Definition at line 196 of file one.H.


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