added any2unistr predefined function (artf724008)
[deliverable/titan.core.git] / compiler2 / ttcn3 / BerAST.hh
CommitLineData
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 * Zalanyi, Balazs Andor
11 *
12 ******************************************************************************/
970ed795
EL
13#ifndef BER_AST_HH
14#define BER_AST_HH
15
16
17
18class BerAST {
19 static const char* encode_string[];
20 static const char* decode_string[];
21public:
22
23 enum ber_encode_t {
24 CER,
25 DER
26 };
27
28 enum ber_decode_t {
29 LENGTH_ACCEPT_SHORT,
30 LENGTH_ACCEPT_LONG,
31 LENGTH_ACCEPT_INDEFINITE,
32 LENGTH_ACCEPT_DEFINITE,
33 ACCEPT_ALL
34 };
35
36 ber_encode_t encode_param;
37 ber_decode_t decode_param;
38
39 BerAST();
40
41 const char* get_encode_str();
42 const char* get_decode_str();
43};
44
45#endif
This page took 0.026191 seconds and 5 git commands to generate.