CLEAN
Valuation library for mortgage-backed securities
Public Types | Public Member Functions | Public Attributes | List of all members
AndrewKalotayAssociates::Common::Output::Status Struct Reference

#include "andrew_kalotay_associates/common/structs.h"

Public Types

enum  code_type {
  ok = 0 , warning = 2 , no_lattice_model = 2*2 , fatal = 256 ,
  invalid_license = 256*2 , no_curve_model = 256*4 , computation_failed = 256*8 , invalid_quote = 256*16 ,
  no_default_model = 256*32 , no_stock_model = 256*64 , invalid_handle = 256*256*256
}
 

Public Member Functions

bool operator! () const
 
 Status (code_type this_code=ok, const char *this_message="")
 Internal use only.
 
 ~Status ()
 Internal use only.
 
void set_to_worst (int this_code=Status::ok)
 Internal use only.
 
void set_message (const char *m)
 Internal use only.
 
void set (int code=ok, const char *m="")
 Internal use only.
 
void set_to_worst (int code, const char *m)
 Internal use only.
 
void set_to_worst (Status status)
 Internal use only.
 

Public Attributes

int code
 
String message
 Error message if any.
 

Detailed Description

Output::Status

Reports status of output report

Possible values of return code are values below or sums of them:

Member Enumeration Documentation

◆ code_type

Possible return code values


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