Fesapi  0.13.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 
20 
21 
22 #ifndef FILE_CORE_PROPERTIES_H
23 #define FILE_CORE_PROPERTIES_H
24 
25 #include "CoreProperty.h"
26 
27 namespace epc
28 {
30  {
31  private:
32  CoreProperty properties[CoreProperty::undefinedCoreProperty];
33 
34  public:
36  ~FileCoreProperties() {}
37 
38  CoreProperty getProperty(const CoreProperty::TypeProperty & index) const;
39  std::string toString() const;
40 
46 
47  void setCategory(const std::string & value);
48  void setContentStatus(const std::string & value);
49  void setCreated(const std::string & value);
50  void setCreator(const std::string & value);
51  void setDescription(const std::string & value);
52  void setIdentifier(const std::string & value);
53  void setKeywords(const std::string & value);
54  void addKeywords(const std::string & value);
55  void setLanguage(const std::string & value);
56  void setLastModifiedBy(const std::string & value);
57  void setLastPrinted(const std::string & value);
58  void setModified(const std::string & value);
59  void setRevision(const std::string & value);
60  void setSubject(const std::string & value);
61  void setTitle(const std::string & value);
62  void setVersion(const std::string & value);
63 
67  void readFromString(const std::string & textInput);
68  };
69 }
70 
71 #endif
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
void readFromString(const std::string &textInput)
Definition: FileCoreProperties.cpp:240
Definition: FileCoreProperties.h:29
Definition: CoreProperty.h:29
TypeProperty
Definition: CoreProperty.h:36
void initDefaultCoreProperties()
Definition: FileCoreProperties.cpp:50
Definition: ContentType.h:26