ROSE  0.11.50.0
Initialize.h
1 #ifndef ROSE_Initialize_H
2 #define ROSE_Initialize_H
3 
5 namespace Rose {
6 
49 ROSE_DLL_API void initialize(const char *configToken);
50 
58 ROSE_DLL_API bool isInitialized();
59 
64 ROSE_DLL_API bool checkConfigToken(const char *configTokenToken);
65 
78 ROSE_DLL_API bool checkVersionNumber(const std::string &need);
79 
80 } // namespace
81 
82 // A slightly more memorable way to initialize ROSE
83 #define ROSE_INITIALIZE Rose::initialize(ROSE_CONFIG_TOKEN)
84 
85 #endif
Main namespace for the ROSE library.
ROSE_DLL_API bool isInitialized()
Checks whether the library has been initialized.
ROSE_DLL_API void initialize(const char *configToken)
Initialize the library.
ROSE_DLL_API bool checkVersionNumber(const std::string &need)
Check ROSE version number.
ROSE_DLL_API bool checkConfigToken(const char *configTokenToken)
Check the configuration token.