fix();
}
+// create a path based on "path" and a "subpath"
+SGPath::SGPath( const SGPath& p, const std::string& r )
+ : path(p.path),
+ _cached(false)
+{
+ append(r);
+ fix();
+}
+
SGPath::SGPath(const SGPath& p) :
path(p.path),
_cached(p._cached),
/** Default constructor */
SGPath();
+ /** Copy contructor */
SGPath(const SGPath& p);
SGPath& operator=(const SGPath& p);
*/
SGPath( const std::string& p );
+ /**
+ * Construct a path based on the starting path provided and a relative subpath
+ * @param p initial path
+ * @param r relative subpath
+ */
+ SGPath( const SGPath& p, const std::string& r );
+
/** Destructor */
~SGPath();