Commit | Line | Data |
---|---|---|
d44e3c4f | 1 | /****************************************************************************** |
2 | * Copyright (c) 2000-2016 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 | * Contributors: | |
9 | * Balasko, Jeno | |
10 | * Godar, Marton | |
11 | * Raduly, Csaba | |
12 | * Szabo, Bence Janos | |
13 | * | |
14 | ******************************************************************************/ | |
970ed795 EL |
15 | #ifndef ANNOTATION_HH_ |
16 | #define ANNOTATION_HH_ | |
17 | ||
18 | #include "RootType.hh" | |
19 | ||
20 | /** | |
21 | * Type that contains information coming from XSD annotation and comments | |
22 | * | |
23 | * Source in XSD: | |
24 | * | |
25 | * * <annotation> element whose parent element is <schema> | |
26 | * * xml comments ( closed between <!-- ... --> signs) | |
27 | * | |
28 | * Result in TTCN-3: | |
29 | * | |
30 | * * TTCN-3 comment | |
31 | * | |
32 | */ | |
3abe9331 | 33 | class Annotation : public RootType { |
970ed795 | 34 | public: |
3abe9331 | 35 | Annotation(XMLParser * a_parser, TTCN3Module * a_module, ConstructType a_construct); |
36 | Annotation(const Annotation &); // not implemented | |
37 | Annotation & operator=(const Annotation &); // not implemented | |
970ed795 EL |
38 | // Default destructor is used |
39 | ||
40 | /** Virtual methods | |
41 | * inherited from the abstract RootType | |
42 | */ | |
3abe9331 | 43 | void loadWithValues(); |
44 | void printToFile(FILE * file); | |
970ed795 | 45 | |
3abe9331 | 46 | void dump(unsigned int depth) const; |
970ed795 EL |
47 | }; |
48 | ||
49 | #endif /* ANNOTATION_HH_ */ |