Revert "Moved the Options constructors and destructor implementaions into the cpp to make it easier to do debugging"

This reverts commit 0fc7aa8cc0.
This commit is contained in:
Robert Osfield
2018-05-11 11:11:48 +01:00
parent fcde92ad89
commit a211ea4e68
2 changed files with 16 additions and 32 deletions

View File

@@ -95,9 +95,21 @@ class OSGDB_EXPORT Options : public osg::Object
};
Options();
Options():
osg::Object(true),
_objectCacheHint(CACHE_ARCHIVES),
_precisionHint(FLOAT_PRECISION_ALL),
_buildKdTreesHint(NO_PREFERENCE) {}
Options(const std::string& str);
Options(const std::string& str):
osg::Object(true),
_str(str),
_objectCacheHint(CACHE_ARCHIVES),
_precisionHint(FLOAT_PRECISION_ALL),
_buildKdTreesHint(NO_PREFERENCE)
{
parsePluginStringData(str);
}
Options(const Options& options,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
@@ -245,11 +257,10 @@ class OSGDB_EXPORT Options : public osg::Object
bool operator < (const Options &rhs) const;
bool operator == (const Options &rhs) const;
virtual ~Options() {}
protected:
virtual ~Options();
std::string _str;
FilePathList _databasePaths;