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
14 ******************************************************************************/
15 #ifndef ANNOTATION_HH_
16 #define ANNOTATION_HH_
18 #include "RootType.hh"
21 * Type that contains information coming from XSD annotation and comments
25 * * <annotation> element whose parent element is <schema>
26 * * xml comments ( closed between <!-- ... --> signs)
33 class Annotation : public RootType {
35 Annotation(XMLParser * a_parser, TTCN3Module * a_module, ConstructType a_construct);
36 Annotation(const Annotation &); // not implemented
37 Annotation & operator=(const Annotation &); // not implemented
38 // Default destructor is used
41 * inherited from the abstract RootType
43 void loadWithValues();
44 void printToFile(FILE * file);
46 void dump(unsigned int depth) const;
49 #endif /* ANNOTATION_HH_ */