RDB 2: riegl::rdb::library Namespace Reference

| RDB 2

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- Namespace List
- Namespace Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
riegl::rdb::library Namespace Reference

RDB library management. More...

## Functions
void | load (const std::string &filename="")
| Load library and resolve functions. More...
void | free ()
| Free library. More...

## Detailed Description

RDB library management.

## Function Documentation

void riegl::rdb::library::free | ( |  | ) |

Free library.

Optionally call this function to free the library. Subsequent calls to other library functions will crash the application. If the library is not loaded, this function does nothing.

Throws an exception if the library was not freed successfully.

void riegl::rdb::library::load | ( | const std::string & | filename = `""` | ) |

Load library and resolve functions.

Call this function before using any of the other library functions. If no filename is given, then the default library filename is used. If the library is already loaded, this function does nothing. To load a different library, unload the current library first.

Throws an exception if the library was not loaded successfully.