CoolProp  6.6.0
An open-source fluid property and humid air property database
Classes | Macros | Typedefs | Enumerations | Functions
CoolPropTools.h File Reference
#include "PlatformDetermination.h"
#include "Exceptions.h"
#include <string>
#include <vector>
#include <cctype>
#include <map>
#include "CPstrings.h"
#include "CPnumerics.h"
#include "CPfilepaths.h"

Go to the source code of this file.

Classes

class  Dictionary
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 
#define __has_feature(x)   0
 
#define COOLPROPDBL_MAPS_TO_DOUBLE
 
#define DEPRECATED(func)   func
 Define the deprecated macro to give compile-time warnings. More...
 
#define CATCH_ALL_ERRORS_RETURN_HUGE(x)
 

Typedefs

typedef double CoolPropDbl
 

Enumerations

enum  miniz_mode { MINIZ_COMPRESS , MINIZ_DECOMPRESS }
 

Functions

template<typename M >
void freeClear (M &amap)
 Utility function to clear a std::map of pointers. More...
 
void miniz (const std::string &inFile, const std::string &outFile, miniz_mode mode)
 

Macro Definition Documentation

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 20 of file CoolPropTools.h.

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Definition at line 5 of file CoolPropTools.h.

◆ CATCH_ALL_ERRORS_RETURN_HUGE

#define CATCH_ALL_ERRORS_RETURN_HUGE (   x)
Value:
try { \
x \
} catch (const std::exception& e) { \
return _HUGE; \
} catch (...) { \
return _HUGE; \
}

Definition at line 149 of file CoolPropTools.h.

◆ COOLPROPDBL_MAPS_TO_DOUBLE

#define COOLPROPDBL_MAPS_TO_DOUBLE

Definition at line 44 of file CoolPropTools.h.

◆ DEPRECATED

#define DEPRECATED (   func)    func

Define the deprecated macro to give compile-time warnings.

Definition at line 58 of file CoolPropTools.h.

Typedef Documentation

◆ CoolPropDbl

typedef double CoolPropDbl

Definition at line 46 of file CoolPropTools.h.

Enumeration Type Documentation

◆ miniz_mode

enum miniz_mode
Enumerator
MINIZ_COMPRESS 
MINIZ_DECOMPRESS 

Definition at line 158 of file CoolPropTools.h.

Function Documentation

◆ freeClear()

template<typename M >
void freeClear ( M &  amap)

Utility function to clear a std::map of pointers.

Definition at line 142 of file CoolPropTools.h.

◆ miniz()

void miniz ( const std::string &  inFile,
const std::string &  outFile,
miniz_mode  mode 
)