Home | History | Annotate | Download | only in dae

Lines Matching refs:daeURI

19  * The @c daeURI is a simple class designed to aid in the parsing and resolution
21 * A @c daeURI is created for every @c anyURL and @c IDREF in the COLLADA schema.
24 * The @c daeURI class contains a URI string; the @c set() method breaks the string into
28 * If a @c daeURI is stored within a @c daeElement, it fills
31 * The main API on the @c daeURI, @c resolveElement(), uses a @c daeURIResolver
61 class DLLSPEC daeURI
130 * Constructs a daeURI object that contains no URI reference.
131 * @param dae The DAE associated with this daeURI.
134 daeURI(DAE& dae);
138 ~daeURI();
141 * Constructs a daeURI object from a URI passed in as a string.
142 * @param dae The DAE associated with this daeURI.
146 daeURI(DAE& dae, const std::string& URIString, daeBool nofrag = false);
149 * Constructs a daeURI object using a <tt><i>baseURI</i></tt> and a <tt><i>uriString.</i></tt>
154 daeURI(const daeURI& baseURI, const std::string& URIString);
157 * Constructs a daeURI object based on a simple copy from an existing @c daeURI.
160 daeURI(const daeURI& constructFromURI);
163 * Constructs a daeURI given a container element and a URI string.
167 daeURI(daeElement& container, const std::string& uriString = "");
171 daeURI(DAE& dae, daeElement& container, const std::string& uriString = "");
174 * Gets the DAE objects associated with this daeURI.
189 void set(const std::string& uriStr, const daeURI* baseURI = NULL);
196 const daeURI* baseURI = NULL);
199 void setURI(daeString uriStr, const daeURI* baseURI = NULL);
226 std::string pathDir() const; // daeURI("/folder/file.dae").pathDir() == "/folder/"
227 std::string pathFileBase() const; // daeURI("/folder/file.dae").pathFileBase() == "file"
228 std::string pathExt() const; // daeURI("/folder/file.dae").pathExt() == ".dae"
229 std::string pathFile() const; // daeURI("/folder/file.dae").pathFile() == "file.dae"
286 void copyFrom(const daeURI& from);
299 int makeRelativeTo(const daeURI* uri);
305 inline bool operator==(const daeURI& other) const {
309 daeURI& operator=(const daeURI& other);
310 daeURI& operator=(const std::string& uri);
314 void validate(const daeURI* baseURI = NULL); // Shouldn't ever need to call this.
379 * Provides an abstract interface for converting a @c daeURI into a @c daeElement
380 * @param uri @c daeURI to resolve.
384 virtual daeElement* resolveElement(const daeURI& uri) = 0;
405 daeElement* resolveElement(const daeURI& uri);