Sync with 5.4.0
[deliverable/titan.core.git] / xsdconvert / Annotation.hh
1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2015 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
8 #ifndef ANNOTATION_HH_
9 #define ANNOTATION_HH_
10
11 #include "RootType.hh"
12
13 /**
14 * Type that contains information coming from XSD annotation and comments
15 *
16 * Source in XSD:
17 *
18 * * <annotation> element whose parent element is <schema>
19 * * xml comments ( closed between <!-- ... --> signs)
20 *
21 * Result in TTCN-3:
22 *
23 * * TTCN-3 comment
24 *
25 */
26 class Annotation : public RootType {
27 public:
28 Annotation(XMLParser * a_parser, TTCN3Module * a_module, ConstructType a_construct);
29 Annotation(const Annotation &); // not implemented
30 Annotation & operator=(const Annotation &); // not implemented
31 // Default destructor is used
32
33 /** Virtual methods
34 * inherited from the abstract RootType
35 */
36 void loadWithValues();
37 void printToFile(FILE * file);
38
39 void dump(unsigned int depth) const;
40 };
41
42 #endif /* ANNOTATION_HH_ */
This page took 0.0323 seconds and 5 git commands to generate.