This file contains several utility functions when dealing with Linux specific API. More...
#include "Exception.h"#include "PlatformUtils.h"#include "StringUtils.h"#include <fstream>#include <cstdio>#include <cstdlib>Go to the source code of this file.
| Namespaces | |
| te | |
| URI C++ Library. | |
| te::common | |
| Namespace for the Common module of TerraLib. | |
| Functions | |
| void | te::common::GetDecompostedLDPathEnvVar (std::vector< std::string > &paths) | 
| Returns the system LD_LIBRARY_PATH enviroment variable, decomposed into directory names, or an empty vector if no values were found.  More... | |
| void | te::common::GetDecompostedPathEnvVar (std::vector< std::string > &paths) | 
| Returns the system PATH enviroment variable, decomposed into directory names, or an empty vector if no values were found.  More... | |
| unsigned long int | te::common::GetFreePhysicalMemory () | 
| Returns the amount of free physical memory (bytes).  More... | |
| unsigned int | te::common::GetPhysProcNumber () | 
| Returns the number of physical processors.  More... | |
| unsigned long int | te::common::GetTotalPhysicalMemory () | 
| Returns the amount of total physical memory (bytes).  More... | |
| unsigned long int | te::common::GetTotalVirtualMemory () | 
| Returns the amount of total virtual memory (bytes) that can be claimed by the current process (physical + swapped).  More... | |
| unsigned long int | te::common::GetUsedVirtualMemory () | 
| Returns the amount of used virtual memory (bytes) for the current process (physical + swapped).  More... | |
This file contains several utility functions when dealing with Linux specific API.
Definition in file PlatformUtils.cpp.