Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
vcard_version.hpp
Go to the documentation of this file.
1 //
2 // BEGIN_DOUGLAS_MARK_ROYER_COPYRIGHT
3 //
4 // Copyright (C) 1993-2012 Douglas Mark Royer, All Rights Reserved.
5 //
6 // NOTICE:
7 //
8 // THIS SOURCE CODE BELONGS TO DOUGLAS MARK ROYER
9 // THIS CODE IS CONSIDERED A
10 // TRADE SECRET AND IS NOT TO BE DIVULGED OR USED BY PARTIES WHO HAVE
11 // NOT RECEIVED WRITTEN AUTHORIZATION FROM THE OWNER.
12 //
13 // THIS SOFTWARE AND MANUAL ARE BOTH PROTECTED BY UNITED STATES
14 // COPYRIGHT LAW (TITLE 17 UNITED STATES CODE). UNAUTHORIZED REPRODUCTION
15 // AND/OR SALE MAY RESULT IN IMPRISONMENT OF UP TO ONE YEAR AND FINES
16 // OF UP TO $100,000 (17 USC 506). COPYRIGHT INFRINGERS MAY ALSO
17 // BE SUBJECT TO CIVIL LIABILITY.
18 //
19 // THIS NOTICE AND THE ABOVE COPYRIGHT NOTICE MUST REMAIN IN ALL
20 // COPIES AND ANY DERIVED WORK.
21 //
22 // ALL OF THIS CODE IS ORIGINAL WORK BY THE COPYRIGHT HOLDER.
23 //
24 // THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS
25 // PROVIDED ON AN "AS IS" BASIS AND INET-CONSULTING.COM, INC.
26 // DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
27 // NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
28 // HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
29 // WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
30 // PURPOSE. ANY SERVICE CONTRACT WILL BE UNDER A SEPARATE
31 // LICENSE.
32 //
33 // END_DOUGLAS_MARK_ROYER_COPYRIGHT
34 //
35 
43 #ifndef __DOUGLAS_MARK_ROYER_LIBRARY_VCARD_version_HPP__
44 #define __DOUGLAS_MARK_ROYER_LIBRARY_VCARD_version_HPP__
45 
46 #ifndef EXPORT_ICALENDAR
47 #ifdef BUILDING_LIBRARY_ICALENDAR
48 #define EXPORT_ICALENDAR EXPORT_OUT
49 #else
50 #define EXPORT_ICALENDAR EXPORT_IN
51 #endif
52 #endif
53 
54 #ifdef BUILDING_LIBRARY_ICALENDAR
55 #include "vcard.hpp"
56 #include "iCalendar.hpp"
57 #include "float_property.hpp"
58 #include "float_value.hpp"
59 #else
60 #include <SaS/iCalendar/vcard.hpp>
61 #include <SaS/iCalendar/iCalendar.hpp>
62 #include <SaS/iCalendar/float_property.hpp>
63 #include <SaS/iCalendar/float_value.hpp>
64 #endif
65 
66 using namespace std;
70 
71 namespace SoftwareAndServices
72 {
73  namespace Library
74  {
75  namespace vCard
76  {
77 
82  class EXPORT_ICALENDAR version
83  : public float_property
84  {
85 
86  public:
87 
91  version();
92 
98  version(const float_value * Value);
99 
105  version(double Value);
106 
110  virtual ~version();
111 
112  };
113 
118  typedef vector<version*> versionVec;
119 
120  }
121  }
122 }
123 
124 #endif /*__DOUGLAS_MARK_ROYER_LIBRARY_VCARD_version_HPP__*/
STL namespace.
An RFC-iCalendar implementation of VERSION parameter.
An RFC-iCalendar implementation of a FLOAT parameter.
Definition: float_value.hpp:73
vector< version * > versionVec
An array of version.
Copyright Douglas Mark Royer DouglasRoyer@gmail.com.
Definition: Base.hpp:98