one::null Class Reference

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

Inheritance diagram for one::null:
[legend]
Collaboration diagram for one::null:
[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...
 

Detailed Description

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

Definition at line 143 of file one.H.

Member Typedef Documentation

◆ value_type

typedef null value_type

Definition at line 149 of file one.H.

Constructor & Destructor Documentation

◆ null() [1/2]

constexpr null ( )
inlineconstexprnoexcept

Default construct.

Definition at line 152 of file one.H.

◆ null() [2/2]

constexpr null ( Istream )
inlineexplicitconstexprnoexcept

Construct from Istream consumes no content.

Definition at line 155 of file one.H.


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