Metadata
Przegląd
Metadata jest klasą w Aspose.PDF FOSS dla C++.
Klasa Metadata implementuje interfejs podobny do słownika z metodami Add(key, value), Remove(key) oraz TryGetValue(key, value) do zarządzania wpisami metadanych XMP.
Ta klasa udostępnia 21 metod do pracy z obiektami Metadata w programach C++. Dostępne metody obejmują: Add, Clear, Contains, ContainsKey, Count, GetNamespaceUriByPrefix, GetPrefixByNamespaceUri, IsFixedSize, IsReadOnly, Keys, Metadata, RegisterNamespaceUri oraz 5 dodatkowych metod. Wszystkie publiczne elementy są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++. Metody dostępowe: Metadata.
Metody dostępowe
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
Metadata | Metadata | Odczyt | Pobiera metadane. |
Metody
| Sygnatura | Opis |
|---|---|
Metadata() → Metadata | Wywołuje Metadata na tej instancji Metadata. |
Metadata() → Metadata | |
Metadata() | |
Metadata() | |
~Metadata() | Wywołuje ~Metadata na tej instancji Metadata. |
RegisterNamespaceUri(prefix: std::string, namespaceUri: std::string) | Wywołuje RegisterNamespaceUri(prefix, namespaceUri) na tej instancji Metadata. |
RegisterNamespaceUri(prefix: std::string, namespaceUri: std::string, schemaDescription: std::string) | Wywołuje RegisterNamespaceUri(prefix, namespaceUri, schemaDescription) na tej instancji Metadata. |
GetNamespaceUriByPrefix(prefix: std::string) → std::string | Wywołuje GetNamespaceUriByPrefix(prefix) na tej instancji Metadata. |
GetPrefixByNamespaceUri(namespaceUri: std::string) → std::string | Wywołuje GetPrefixByNamespaceUri(namespaceUri) na tej instancji Metadata. |
Add(key: std::string, value: XmpValue) | Wywołuje Add(key, value) na tej instancji Metadata. |
Clear() | Wywołuje Clear na tej instancji Metadata. |
Contains(key: std::string) → bool | Wywołuje Contains(key) na tej instancji Metadata. |
Remove(key: std::string) → bool | Wywołuje Remove(key) na tej instancji Metadata. |
ContainsKey(key: std::string) → bool | Wywołuje ContainsKey(key) na tej instancji Metadata. |
TryGetValue(key: std::string, value: XmpValue) → bool | Wywołuje TryGetValue(key, value) na tej instancji Metadata. |
IsFixedSize() → bool | Zwraca true, jeśli ustawiony jest stały rozmiar. |
IsReadOnly() → bool | Zwraca true, jeśli ustawiono tryb tylko do odczytu. |
Keys() → std::vector<std::string> | Wywołuje Keys na tej instancji Metadata. |
Values() → std::vector<XmpValue> | Wywołuje Values na tej instancji Metadata. |
at(key: std::string) → XmpValue | Wywołuje at(key) na tej instancji Metadata. |
Count() → int | Wywołuje Count na tej instancji Metadata. |