#include <CoreProperty.h>
|
enum | TypeProperty {
category = 0
, contentStatus = 1
, created = 2
, creator = 3
,
description = 4
, identifier = 5
, keywords = 6
, language = 7
,
lastModifiedBy = 8
, lastPrinted = 9
, modified = 10
, revision = 11
,
subject = 12
, title = 13
, version = 14
, undefinedCoreProperty = 15
} |
|
◆ TypeProperty
Enumeration of the various types of the core properties.
◆ CoreProperty() [1/4]
epc::CoreProperty::CoreProperty |
( |
| ) |
|
◆ CoreProperty() [2/4]
◆ CoreProperty() [3/4]
epc::CoreProperty::CoreProperty |
( |
TypeProperty | pType, |
|
|
const std::string & | pValue ) |
Constructor
- Parameters
-
pType | The type. |
pValue | The value. |
◆ CoreProperty() [4/4]
epc::CoreProperty::CoreProperty |
( |
TypeProperty | pType, |
|
|
const std::vector< std::string > & | pValue ) |
Constructor
- Parameters
-
pType | The type. |
pValue | The value. |
◆ ~CoreProperty()
epc::CoreProperty::~CoreProperty |
( |
| ) |
|
|
default |
◆ addKeywords()
void epc::CoreProperty::addKeywords |
( |
std::string | pValue | ) |
|
Adds the keywords
- Parameters
-
◆ getAllValue()
const std::vector< std::string > & epc::CoreProperty::getAllValue |
( |
| ) |
const |
Get all the string values. Relevant only for some core properties which can have several string values (such as keywords)
- Returns
- all value.
◆ getTypeProperty()
Get the type of the core property.
- Returns
- The type property.
◆ getValue()
std::string epc::CoreProperty::getValue |
( |
size_t | index = 0 | ) |
const |
Get the first string value of the core property. Usually this method is the common one for retrieving string value of a core property since most of timeonly one string value is necessary for one core property.
- Parameters
-
index | (Optional) Zero-based index of the. |
- Returns
- The value.
◆ isEmpty()
bool epc::CoreProperty::isEmpty |
( |
| ) |
const |
Indicate wether a property has got a string value or not
- Returns
- True if empty, false if not.
◆ setCategory()
void epc::CoreProperty::setCategory |
( |
std::string | pValue | ) |
|
Sets a category
- Parameters
-
◆ setContentStatus()
void epc::CoreProperty::setContentStatus |
( |
std::string | pValue | ) |
|
Sets content status
- Parameters
-
◆ setCreated()
void epc::CoreProperty::setCreated |
( |
std::string | pValue | ) |
|
Sets a created
- Parameters
-
◆ setCreator()
void epc::CoreProperty::setCreator |
( |
std::string | pValue | ) |
|
Sets a creator
- Parameters
-
◆ setDescription()
void epc::CoreProperty::setDescription |
( |
std::string | pValue | ) |
|
Sets a description
- Parameters
-
◆ setIdentifier()
void epc::CoreProperty::setIdentifier |
( |
std::string | pValue | ) |
|
Sets an identifier
- Parameters
-
◆ setKeywords()
void epc::CoreProperty::setKeywords |
( |
std::string | pValue | ) |
|
Sets the keywords
- Parameters
-
◆ setLanguage()
void epc::CoreProperty::setLanguage |
( |
std::string | pValue | ) |
|
Sets a language
- Parameters
-
◆ setLastModifiedBy()
void epc::CoreProperty::setLastModifiedBy |
( |
std::string | pValue | ) |
|
Sets last modified by
- Parameters
-
◆ setLastPrinted()
void epc::CoreProperty::setLastPrinted |
( |
std::string | pValue | ) |
|
Sets last printed
- Parameters
-
◆ setModified()
void epc::CoreProperty::setModified |
( |
std::string | pValue | ) |
|
Sets a modified
- Parameters
-
◆ setRevision()
void epc::CoreProperty::setRevision |
( |
std::string | pValue | ) |
|
Sets a revision
- Parameters
-
◆ setSubject()
void epc::CoreProperty::setSubject |
( |
std::string | pValue | ) |
|
Sets a subject
- Parameters
-
◆ setTitle()
void epc::CoreProperty::setTitle |
( |
std::string | pValue | ) |
|
◆ setTypeProperty()
void epc::CoreProperty::setTypeProperty |
( |
TypeProperty | corePropertyType | ) |
|
Set the type of the core property
- Parameters
-
corePropertyType | Type of the core property. |
◆ setVersion()
void epc::CoreProperty::setVersion |
( |
std::string | pValue | ) |
|
Sets a version
- Parameters
-
◆ toString()
std::string epc::CoreProperty::toString |
( |
| ) |
const |
Serialize the core property into an XML element embeded into a string.
- Returns
- A std::string that represents this object.
The documentation for this class was generated from the following file:
- C:/Users/philippe/dev/fesapiEnv/fesapi-2.10.1.0/src/epc/CoreProperty.h