Dripline-Cpp  v2.4.2
Dripline Implementation in C++
Public Member Functions | Public Attributes | List of all members
copy_code Class Reference

Stores a copy of the return-code value, name, and description, either as a custom return-code or copying from any return_code-derived class. More...

#include <return_codes.hh>

Inheritance diagram for copy_code:
Inheritance graph

Public Member Functions

 copy_code (unsigned a_value, const std::string &a_name, const std::string &a_description)
 
 copy_code (const return_code &a_code)
 
virtual ~copy_code ()
 
virtual unsigned rc_value () const
 
virtual std::string rc_name () const
 
virtual std::string rc_description () const
 
- Public Member Functions inherited from return_code
virtual ~return_code ()
 

Public Attributes

unsigned f_value
 
std::string f_name
 
std::string f_description
 

Detailed Description

Stores a copy of the return-code value, name, and description, either as a custom return-code or copying from any return_code-derived class.

Author
N.S. Oblath

Definition at line 52 of file return_codes.hh.

Constructor & Destructor Documentation

◆ copy_code() [1/2]

copy_code ( unsigned  a_value,
const std::string &  a_name,
const std::string &  a_description 
)

Definition at line 20 of file return_codes.cc.

◆ copy_code() [2/2]

copy_code ( const return_code a_code)

Definition at line 26 of file return_codes.cc.

◆ ~copy_code()

virtual ~copy_code ( )
inlinevirtual

Definition at line 56 of file return_codes.hh.

Member Function Documentation

◆ rc_description()

virtual std::string rc_description ( ) const
inlinevirtual

Implements return_code.

Definition at line 59 of file return_codes.hh.

◆ rc_name()

virtual std::string rc_name ( ) const
inlinevirtual

Implements return_code.

Definition at line 58 of file return_codes.hh.

◆ rc_value()

virtual unsigned rc_value ( ) const
inlinevirtual

Implements return_code.

Definition at line 57 of file return_codes.hh.

Member Data Documentation

◆ f_description

std::string f_description

Definition at line 62 of file return_codes.hh.

◆ f_name

std::string f_name

Definition at line 61 of file return_codes.hh.

◆ f_value

unsigned f_value

Definition at line 60 of file return_codes.hh.


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