Index
Overview of ASN1C
Using the Compiler
- Running ASN1C from the Command-line
- Using the GUI Wizard to Run ASN1C
- Compiling and Linking Generated Code
- Porting Run-time Code to Other Platforms
- Compiler Configuration File
- Compiler Error Reporting
Generated C/C++ Source Code
- Header (.h) File
- BOOLEAN
- INTEGER
- BIT STRING
- OCTET STRING
- ENUMERATED
- NULL
- OBJECT IDENTIFIER
- RELATIVE-OID
- REAL
- SEQUENCE
- DEFAULT keyword
- Extension Elements
- SET
- SEQUENCE OF
- SEQUENCE OF Type Elements in Other Constructed Types
- SET OF
- CHOICE
- Populating Generated Choice Structures
- Open Type
- Character String Types
- Time String Types
- EXTERNAL Type
- Parameterized Types
- Information Objects
- Simple Form Code Generation
- Table Form Code Generation
- Value Specifications
- Encode/Decode Function Prototypes
- Generated Class Definition
- BER/DER or PER Class Definition
- XER Class Definition
- Generated Methods
- Generated Information Object Table Structures
- C Code Generation
- BER/DER:
- PER:
- C++ Code Generation
- BER/DER:
- PER:
- General Procedures for Encoding and Decoding
- Dynamic Memory Management
- Populating Generated Structure Variables for Encoding
- Accessing Encoded Message Components
- Generated BER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Procedure for Calling C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Encoding a Series of Messages Using the C++ Control Class Interface
- Generated BER Decode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Decode Method Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Procedure for Using the C++ Control Class Decode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- BER Decode Performance Enhancement Techniques
- Dynamic Memory Management
- Compact Code Generation
- Decode Fast Copy
- Generated BER Stream-Oriented Encode Functions
- Generated Stream-Oriented C Function Format and Calling Parameters
- Procedure for Calling Stream-Oriented C Encode Functions
- Encoding a Series of Messages Using the Stream-Oriented C Encode Functions
- Generated Stream-Oriented C++ Encode Method Format and Calling Parameters
- Procedure for Using the Stream-Oriented C++ Control Class Encode Method
- Encoding a Series of Messages Using the Stream-Oriented C++ Control Class Interface
- Generated BER Stream-Oriented Decode Functions
- Generated Stream-Oriented C Function Format and Calling Parameters
- Procedure for Calling Stream-Oriented C Decode Functions
- Decoding a Series of Messages Using the Stream-Oriented C Decode Functions
- Generated Stream-Oriented C++ Decode Method Format and Calling Parameters
- Procedure for Using the Stream-Oriented C++ Control Class Decode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- Generated PER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Populating Generated Structure Variables for Encoding
- Procedure for Calling C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Encoding a Series of PER Messages using the C++ Interface
- Generated PER Decode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Decode Method Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Procedure for Using the C++ Control Class Encode Method
- Decoding a Series of Messages Using the C++ Control Class Interface
- Performance Considerations: Dynamic Memory Management
- Generated XER Encode Functions
- Generated C Function Format and Calling Parameters
- Generated C++ Encode Method Format and Calling Parameters
- Populating Generated Structure Variables for Encoding
- Procedure for Calling C Encode Functions
- Procedure for Using the C++ Control Class Encode Method
- Generated XER Decode Functions
- Procedure for Using the C Interface
- Generated C Function Format and Calling Parameters
- Procedure for Calling C Decode Functions
- Procedure for Using the C++ Interface
- Procedure for Interfacing with Other C++ XML Parser Libraries
- Generated Print Functions
- Generated Compare Functions
- Generated Copy Functions
- Event Handler Interface
- How it Works
- How to Use It
- Example 1: A Formatted Print Handler
- Example 2: An Error Handler
- IMPORT/EXPORT of Types
ASN.1 to XML Schema Conversion
- Mapping of Top-Level Constructs
- Mapping of ASN.1 Types
- BOOLEAN
- INTEGER
- BIT STRING
- Sized BIT STRING
- BIT STRING with Named Bits
- Example
- OCTET STRING
- Sized OCTET STRING
- Character String Types
- Time String Types
- ENUMERATED
- Example
- Extensible ENUMERATED
- NULL
- OBJECT IDENTIFIER
- RELATIVE-OID
- REAL
- SEQUENCE
- OPTIONAL keyword
- DEFAULT keyword
- Extension Elements
- SET
- SEQUENCE OF / SET OF
- Example
- Sized SEQUENCE OF / SET OF
- CHOICE
- Open Type
- Tagged Type
- EXTERNAL and EmbeddedPDV Type
ASN1C90
- ROSE OPERATION and ERROR
- SNMP OBJECT-TYPE
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |