![]() |
Dripline-Cpp
v2.4.2
Dripline Implementation in C++
|
#include "dripline_api.hh"#include "indexed_factory.hh"#include "macros.hh"#include <memory>#include <set>#include <string>#include <vector>
Go to the source code of this file.
Namespaces | |
| dripline | |
Macros | |
| #define | DEFINE_DL_RET_CODE(name, api_macro) |
| #define | DEFINE_DL_RET_CODE_NOAPI(name) |
| #define | IMPLEMENT_DL_RET_CODE(name, the_value, description) |
Functions | |
| bool | operator== (const return_code &a_lhs, const return_code &a_rhs) |
| std::ostream & | operator<< (std::ostream &a_os, const return_code &a_rc) |
| void | add_return_code (unsigned a_value, const std::string &a_name, const std::string &a_description) |
| Helper function to add a return code (primarily for python binding); scarab::error will be thrown if the value is not unique. More... | |
| bool | check_and_add_return_code (unsigned a_value, const std::string &a_name, const std::string &a_description) |
| std::vector< unsigned > | get_return_code_values () |
| std::map< unsigned, std::unique_ptr< return_code > > | get_return_codes_map () |
| #define DEFINE_DL_RET_CODE | ( | name, | |
| api_macro | |||
| ) |
Defines a return_code object with class name dl_[name], using an API macro (e.g. for going in a Window DLL). This macro should go in a header file.
Definition at line 72 of file return_codes.hh.
| #define DEFINE_DL_RET_CODE_NOAPI | ( | name | ) |
Defines a return_code object with class name dl_[name], with no API macro. This macro should go in a header file.
Definition at line 89 of file return_codes.hh.
| #define IMPLEMENT_DL_RET_CODE | ( | name, | |
| the_value, | |||
| description | |||
| ) |
Implement the return_code object with class name dl_[name], and give it the value the_value. the_value should be an unsigned integer. This macro should go in a source file.
Definition at line 107 of file return_codes.hh.
1.8.13