Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
float_property.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_ICALENDAR_FLOAT_PROPERTY_HPP__
44 #define __DOUGLAS_MARK_ROYER_LIBRARY_ICALENDAR_FLOAT_PROPERTY_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 "iCalendar.hpp"
56 #include "property.hpp"
57 #include "float_value.hpp"
58 #else
59 #include <SaS/iCalendar/iCalendar.hpp>
60 #include <SaS/iCalendar/property.hpp>
61 #include <SaS/iCalendar/float_value.hpp>
62 #endif
63 
64 using namespace std;
68 
69 namespace SoftwareAndServices
70 {
71  namespace Library
72  {
73  namespace iCalendar
74  {
75 
80  class EXPORT_ICALENDAR float_property
81  : public property
82  {
83 
84  public:
85 
91  float_property(Tokens_t type);
92 
100  float_property(Tokens_t type, const float_value * Value);
101 
109  float_property(Tokens_t type, const double Value);
110 
114  virtual ~float_property();
115 
123  double get(unsigned int nTh = 0) const;
124 
125  };
126 
131  typedef vector<float_property*> floatVec;
132  }
133  }
134 }
135 
136 #endif /*__DOUGLAS_MARK_ROYER_LIBRARY_ICALENDAR_FLOAT_PROPERTY_HPP__*/
STL namespace.
Base class for all RFC-iCalendar properties.
Definition: property.hpp:79
An RFC-iCalendar implementation of a FLOAT parameter.
Definition: float_value.hpp:73
Copyright Douglas Mark Royer DouglasRoyer@gmail.com.
Definition: Base.hpp:98
The base class for calendar objects.
Definition: iCalendar.hpp:434