Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
action.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 //
14 // THIS SOFTWARE AND MANUAL ARE BOTH PROTECTED BY UNITED STATES
15 // COPYRIGHT LAW (TITLE 17 UNITED STATES CODE). UNAUTHORIZED REPRODUCTION
16 // AND/OR SALE MAY RESULT IN IMPRISONMENT OF UP TO ONE YEAR AND FINES
17 // OF UP TO $100,000 (17 USC 506). COPYRIGHT INFRINGERS MAY ALSO
18 // BE SUBJECT TO CIVIL LIABILITY.
19 //
20 // THIS NOTICE AND THE ABOVE COPYRIGHT NOTICE MUST REMAIN IN ALL
21 // COPIES AND ANY DERIVED WORK.
22 //
23 // ALL OF THIS CODE IS ORIGINAL WORK BY THE COPYRIGHT HOLDER.
24 //
25 // THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS
26 // PROVIDED ON AN "AS IS" BASIS AND INET-CONSULTING.COM, INC.
27 // DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
28 // NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
29 // HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
30 // WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
31 // PURPOSE. ANY SERVICE CONTRACT WILL BE UNDER A SEPARATE
32 // LICENSE.
33 //
34 // END_DOUGLAS_MARK_ROYER_COPYRIGHT
35 //
36 
45 #ifndef __DOUGLAS_MARK_ROYER_LIBRARY_ICALENDAR_ACTION_HPP__
46 #define __DOUGLAS_MARK_ROYER_LIBRARY_ICALENDAR_ACTION_HPP__
47 
48 #ifndef EXPORT_ICALENDAR
49 #ifdef BUILDING_LIBRARY_ICALENDAR
50 #define EXPORT_ICALENDAR EXPORT_OUT
51 #else
52 #define EXPORT_ICALENDAR EXPORT_IN
53 #endif
54 #endif
55 
56 #ifdef BUILDING_LIBRARY_ICALENDAR
57 #include "iCalendar.hpp"
58 #include "text.hpp"
59 #include "text_property.hpp"
60 #else
61 #include <SaS/iCalendar/iCalendar.hpp>
62 #include <SaS/iCalendar/text.hpp>
63 #include <SaS/iCalendar/text_property.hpp>
64 #endif
65 
66 using namespace std;
70 
71 namespace SoftwareAndServices
72 {
73  namespace Library
74  {
75  namespace iCalendar
76  {
131  class EXPORT_ICALENDAR action
132  : public text_property
133  {
134  public:
135 
142  action();
143 
155  action(const text * InitialValue);
156 
166  action(const char * InitialValue);
167 
178  action(Tokens_t InitialValue);
179 
183  virtual ~action();
184 
188  virtual bool valid() const;
189  };
190 
195  typedef vector<action*> actionVec;
196 
197  }
198  }
199 }
200 
201 #endif /*__DOUGLAS_MARK_ROYER_LIBRARY_ICALENDAR_ACTION_HPP__*/
STL namespace.
Base class for all text property objects.
This class represents any iCalendar TEXT value type.
Definition: text.hpp:76
Copyright Douglas Mark Royer DouglasRoyer@gmail.com.
Definition: Base.hpp:98
vector< action * > actionVec
A vector (array) of action objects.
Definition: action.hpp:195
The base class for calendar objects.
Definition: iCalendar.hpp:434
This object represents the iCalendar ACTION property.
Definition: action.hpp:131