ROSE 0.11.145.192
Initialize.h
1#ifndef ROSE_Initialize_H
2#define ROSE_Initialize_H
3#include <RoseFirst.h>
4
5#include <rosedll.h>
6
7#include <string>
8
15namespace Rose {
16
59ROSE_DLL_API void initialize(const char *configToken);
60
68ROSE_DLL_API bool isInitialized();
69
74ROSE_DLL_API bool checkConfigToken(const char *configTokenToken);
75
88ROSE_DLL_API bool checkVersionNumber(const std::string &need);
89
90} // namespace
91
92// A slightly more memorable way to initialize ROSE
93#define ROSE_INITIALIZE Rose::initialize(ROSE_CONFIG_TOKEN)
94
95#endif
The ROSE library.
ROSE_DLL_API bool isInitialized()
Checks whether the library has been initialized.
ROSE_DLL_API bool checkConfigToken(const char *configTokenToken)
Check the configuration token.
ROSE_DLL_API bool checkVersionNumber(const std::string &need)
Check ROSE version number.
ROSE_DLL_API void initialize(const char *configToken)
Initialize the library.