Sync with 5.4.0
[deliverable/titan.core.git] / compiler2 / ttcn3 / BerAST.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 BER_AST_HH
9 #define BER_AST_HH
10
11
12
13 class BerAST {
14 static const char* encode_string[];
15 static const char* decode_string[];
16 public:
17
18 enum ber_encode_t {
19 CER,
20 DER
21 };
22
23 enum ber_decode_t {
24 LENGTH_ACCEPT_SHORT,
25 LENGTH_ACCEPT_LONG,
26 LENGTH_ACCEPT_INDEFINITE,
27 LENGTH_ACCEPT_DEFINITE,
28 ACCEPT_ALL
29 };
30
31 ber_encode_t encode_param;
32 ber_decode_t decode_param;
33
34 BerAST();
35
36 const char* get_encode_str();
37 const char* get_decode_str();
38 };
39
40 #endif
This page took 0.041384 seconds and 5 git commands to generate.