Added GfParmExists function to check if a given section exists
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3348 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 3e3ee00bc01543ad1a0d0379ccb92cb388162ce4 Former-commit-id: 030f228abf47f29c021506ae25f688721ede1463
This commit is contained in:
parent
611a09f3fd
commit
ca09b52e03
2 changed files with 4 additions and 3 deletions
|
@ -363,6 +363,7 @@ TGF_API int GfParmCheckHandle(void *ref, void *tgt);
|
||||||
TGF_API void *GfParmMergeHandles(void *ref, void *tgt, int mode);
|
TGF_API void *GfParmMergeHandles(void *ref, void *tgt, int mode);
|
||||||
TGF_API int GfParmGetNumBoundaries(void *handle, char *path, char *key, tdble *min, tdble *max);
|
TGF_API int GfParmGetNumBoundaries(void *handle, char *path, char *key, tdble *min, tdble *max);
|
||||||
|
|
||||||
|
TGF_API int GfParmExists(void *handle, const char *path);
|
||||||
TGF_API int GfParmGetEltNb(void *handle, const char *path);
|
TGF_API int GfParmGetEltNb(void *handle, const char *path);
|
||||||
TGF_API int GfParmListSeekFirst(void *handle, const char *path);
|
TGF_API int GfParmListSeekFirst(void *handle, const char *path);
|
||||||
TGF_API int GfParmListSeekNext(void *handle, const char *path);
|
TGF_API int GfParmListSeekNext(void *handle, const char *path);
|
||||||
|
|
|
@ -55,8 +55,6 @@ public:
|
||||||
|
|
||||||
GfRaceManager* getManager() const;
|
GfRaceManager* getManager() const;
|
||||||
|
|
||||||
const std::string& getSessionName() const;
|
|
||||||
|
|
||||||
enum EDisplayMode { eDisplayNormal, eDisplayResultsOnly,
|
enum EDisplayMode { eDisplayNormal, eDisplayResultsOnly,
|
||||||
nDisplayModeNumber };
|
nDisplayModeNumber };
|
||||||
enum ETimeOfDaySpec { eTimeDawn, eTimeMorning, eTimeNoon, eTimeAfternoon,
|
enum ETimeOfDaySpec { eTimeDawn, eTimeMorning, eTimeNoon, eTimeAfternoon,
|
||||||
|
@ -78,7 +76,7 @@ public:
|
||||||
ERainSpec eRainSpec;
|
ERainSpec eRainSpec;
|
||||||
};
|
};
|
||||||
|
|
||||||
Parameters* getParameters();
|
Parameters* getParameters(const std::string& strSessionName) const;
|
||||||
|
|
||||||
int getSupportedFeatures() const;
|
int getSupportedFeatures() const;
|
||||||
|
|
||||||
|
@ -104,6 +102,8 @@ public:
|
||||||
|
|
||||||
GfTrack* getTrack() const;
|
GfTrack* getTrack() const;
|
||||||
|
|
||||||
|
const std::string& getSessionName() const;
|
||||||
|
|
||||||
void* getResultsDescriptorHandle() const;
|
void* getResultsDescriptorHandle() const;
|
||||||
|
|
||||||
void print() const;
|
void print() const;
|
||||||
|
|
Loading…
Reference in a new issue