![]() | InDesign SDK 20.5 |
#include <MediaLocation.h>
Public Member Functions | |
| MediaLocation () | |
| MediaLocation (PMString locationString, bool16 isURL=kFalse) | |
| MediaLocation (const MediaLocation &orig) | |
| MediaLocation & | operator= (const MediaLocation ©) |
| bool16 | operator== (const MediaLocation &ml) const |
| bool16 | operator!= (const MediaLocation &ml) const |
| virtual PMString | GetString () const |
| virtual PMString | GetExtensionString () const |
| virtual bool16 | IsFile () const |
| virtual bool16 | IsURL () const |
This class encapsulates and abstracts the location of media content. The location can be specified either as the absolute path to a local file, or as a URL. This class is useful when you need to maintain the fact that a string represents a local file path or a URL.
| inline |
Default contructor.
| inline |
Constructs a MediaLocation object for either a local file or a URL.
| inline |
Copy constructor.
| inlinevirtual |
Determines the extension of the file.
| inlinevirtual |
Accesses the location string.
| inlinevirtual |
Tests if the location is a file.
| inlinevirtual |
Tests if the location is a URL.
| inline |
Non-equivalence operator for MediaLocation variables.
| inline |
Assignment operator for MediaLocation variables.
| inline |
Equivalence operator for MediaLocation variables.