Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
FileCoreProperties.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #ifndef FILE_CORE_PROPERTIES_H
20 #define FILE_CORE_PROPERTIES_H
21 
22 #include "CoreProperty.h"
23 
24 namespace epc
25 {
28  {
29  private:
31  CoreProperty properties[CoreProperty::undefinedCoreProperty];
32 
33  public:
35  FileCoreProperties() = default;
37  ~FileCoreProperties() = default;
38 
47 
53  std::string toString() const;
54 
60 
66  void setCategory(const std::string & value);
67 
73  void setContentStatus(const std::string & value);
74 
80  void setCreated(const std::string & value);
81 
87  void setCreator(const std::string & value);
88 
94  void setDescription(const std::string & value);
95 
101  void setIdentifier(const std::string & value);
102 
108  void setKeywords(const std::string & value);
109 
115  void addKeywords(const std::string & value);
116 
122  void setLanguage(const std::string & value);
123 
129  void setLastModifiedBy(const std::string & value);
130 
136  void setLastPrinted(const std::string & value);
137 
143  void setModified(const std::string & value);
144 
150  void setRevision(const std::string & value);
151 
157  void setSubject(const std::string & value);
158 
164  void setTitle(const std::string & value);
165 
171  void setVersion(const std::string & value);
172 
178  void readFromString(const std::string & textInput);
179  };
180 }
181 
182 #endif
Definition: CoreProperty.h:29
TypeProperty
Definition: CoreProperty.h:33
Definition: FileCoreProperties.h:28
void setCreator(const std::string &value)
void setDescription(const std::string &value)
CoreProperty getProperty(CoreProperty::TypeProperty index) const
void setSubject(const std::string &value)
void setLanguage(const std::string &value)
std::string toString() const
void addKeywords(const std::string &value)
void setContentStatus(const std::string &value)
void setKeywords(const std::string &value)
void setLastPrinted(const std::string &value)
void setLastModifiedBy(const std::string &value)
void setCategory(const std::string &value)
void setRevision(const std::string &value)
void setCreated(const std::string &value)
void setModified(const std::string &value)
void setTitle(const std::string &value)
void readFromString(const std::string &textInput)
void setVersion(const std::string &value)
void setIdentifier(const std::string &value)
The epc namespace.
Definition: ContentType.h:25