CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_style_sheet_data.h>
Public Member Functions | |
CStyleSheetData (const CStyleSheetData &aOther)=default | |
CStyleSheetData (CStyleSheetData &&aOther)=default | |
CStyleSheetData & | operator= (const CStyleSheetData &aOther)=default |
CStyleSheetData & | operator= (CStyleSheetData &&aOther)=default |
CStyleSheetData (const char *aFileName) | |
CStyleSheetData (const uint8_t *aData, size_t aLength) | |
void | Reload () |
TMemoryInputStream | Stream () const |
const std::string & | FileName () const |
const std::string & | Text () const |
Style sheet data stored in XML format as text or in a file.
|
default |
Creates a CStyleSheetData object by copying another one.
|
default |
Creates a CStyleSheetData object by moving data from another one.
|
explicit |
Creates a CStyleSheetData object representing data from a named file.
CartoType::CStyleSheetData::CStyleSheetData | ( | const uint8_t * | aData, |
size_t | aLength | ||
) |
Creates a CStyleSheetData object representing data stored in memory. Copies the data. Throws KErrorInvalidArgument if aData is null or aLength is zero.
|
inline |
Returns the filename associated with this data, or the empty string if there is none.
|
default |
The assignment operator.
|
default |
The move assignment operator.
void CartoType::CStyleSheetData::Reload | ( | ) |
Reloads the data in a CStyleSheetData object from the file if any.
|
inline |
Creates a memory input stream representing the style sheet data.
|
inline |
Returns the text of this style sheet data.