| TerraLib 4.1

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

- Namespace List
- Namespace Members

Functions
TeAgnostic Namespace Reference
General purpose utilitary functions

This namespace contains a set of routines and classes to deal with system checking and logging facility. More...

## Functions

bool | debugModeCheck ()
| Checks if the code was compiled with debug mode.
template<class T >
std::string | to_string (const T &data)
| Data conversion to string.

## Detailed Description

This namespace contains a set of routines and classes to deal with system checking and logging facility.

## Function Documentation

TL_DLL bool TeAgnostic::debugModeCheck | ( |  | ) |

Checks if the code was compiled with debug mode.

Returns:
  true if debug mode was used at compilation time. false if not.

template<class T >

std::string TeAgnostic::to_string | ( | const T & | data | ) |

Data conversion to string.

Parameters:

  data | Data to be converted.

Returns:
  The converted string.

Examples:
  TePDICorrelationMatching_test.cpp, TePDIMIMatching_test.cpp, TePDIMMIOMatching_test.cpp, and TePDIOFMatching_test.cpp.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines