Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
base Class Reference

Base functionality common to reader and writer classes. More...

Inheritance diagram for base:
Inheritance graph
[legend]

Public Member Functions

 base ()
 
 ~base ()
 
bool close ()
 

Protected Member Functions

bool assertNoError (const char *msg) const
 
bool assertNoError (const std::string &msg) const
 
 base (const base &)=delete
 
void operator= (const base &)=delete
 

Static Protected Member Functions

static bool assertNoError (int err, const char *msg)
 
static bool assertNoError (int err, const std::string &msg)
 

Protected Attributes

std::unique_ptr< ccmGlobalState > globalState_
 

Detailed Description

Base functionality common to reader and writer classes.

Note
this class is in development
  • any/all of the class names and members may change
Source files

Definition at line 58 of file ccmBase.H.

Constructor & Destructor Documentation

◆ base() [1/2]

base ( const base )
protecteddelete

◆ base() [2/2]

base ( )

Definition at line 61 of file ccmBase.C.

◆ ~base()

~base ( )

Definition at line 69 of file ccmBase.C.

Member Function Documentation

◆ assertNoError() [1/4]

bool assertNoError ( int  err,
const char *  msg 
)
staticprotected

Definition at line 28 of file ccmBase.C.

Referenced by reader::reader().

Here is the caller graph for this function:

◆ assertNoError() [2/4]

bool assertNoError ( int  err,
const std::string &  msg 
)
staticprotected

Definition at line 38 of file ccmBase.C.

◆ assertNoError() [3/4]

bool assertNoError ( const char *  msg) const
protected

Definition at line 47 of file ccmBase.C.

References base::globalState_.

◆ assertNoError() [4/4]

bool assertNoError ( const std::string &  msg) const
protected

Definition at line 53 of file ccmBase.C.

◆ operator=()

void operator= ( const base )
protecteddelete

◆ close()

bool close ( )

Definition at line 77 of file ccmBase.C.

Member Data Documentation

◆ globalState_

std::unique_ptr<ccmGlobalState> globalState_
protected

Definition at line 65 of file ccmBase.H.

Referenced by base::assertNoError(), and reader::reader().


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