summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/utl_annotations.h
blob: 5b542528266ee6227dfe239e636d1dcaefc3a299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef UTL_ANNOTATIONS_HEADER
#define UTL_ANNOTATIONS_HEADER

#include "TAO_IDL_FE_Export.h"

#include "ast_annotation_appl.h"

/**
 * Given an AST_Annotation_Appls, find the last annotation that matches the
 * given annotation declaration. Returns 0 if not found.
 *
 * "declaration" must be an absolutely scoped name or a pointer to the
 * AST_Annotation_Decl.
 */
///{
TAO_IDL_FE_Export AST_Annotation_Appl *UTL_find_annotation (
  AST_Annotation_Appls &annotations, AST_Annotation_Decl *annotation);
TAO_IDL_FE_Export AST_Annotation_Appl *UTL_find_annotation (
  AST_Annotation_Appls *annotations, AST_Annotation_Decl *annotation);
TAO_IDL_FE_Export AST_Annotation_Appl *UTL_find_annotation (
  AST_Annotation_Appls &annotations, const char *annotation);
TAO_IDL_FE_Export AST_Annotation_Appl *UTL_find_annotation (
  AST_Annotation_Appls *annotations, const char *annotation);
///}

#endif