NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
CAsnBinaryDefs Class Reference

Search Toolkit Book for CAsnBinaryDefs

#include <serial/impl/objstrasnb.hpp>

+ Inheritance diagram for CAsnBinaryDefs:

Public Types

enum  ETagType { eExplicit = 0 , eImplicit , eAutomatic }
 
enum  ETagClass {
  eUniversal = 0 << 6 , eApplication = 1 << 6 , eContextSpecific = 2 << 6 , ePrivate = 3 << 6 ,
  eTagClassMask = 3 << 6
}
 
enum  ETagConstructed { ePrimitive = 0 << 5 , eConstructed = 1 << 5 , eTagConstructedMask = 1 << 5 }
 
enum  ETagValue {
  eNone = 0 , eBoolean = 1 , eInteger = 2 , eBitString = 3 ,
  eOctetString = 4 , eNull = 5 , eObjectIdentifier = 6 , eObjectDescriptor = 7 ,
  eExternal = 8 , eReal = 9 , eEnumerated = 10 , eUTF8String = 12 ,
  eSequence = 16 , eSequenceOf = eSequence , eSet = 17 , eSetOf = eSet ,
  eNumericString = 18 , ePrintableString = 19 , eTeletextString = 20 , eT61String = 20 ,
  eVideotextString = 21 , eIA5String = 22 , eUTCTime = 23 , eGeneralizedTime = 24 ,
  eGraphicString = 25 , eVisibleString = 26 , eISO646String = 26 , eGeneralString = 27 ,
  eMemberReference = 29 , eObjectReference = 30 , eLongTag = 31 , eStringStore = 1 ,
  eTagValueMask = 31
}
 
enum  ESpecialOctets { eContainterTagByte = TByte(eConstructed) | TByte(eSequence) , eIndefiniteLengthByte = 0x80 , eEndOfContentsByte = 0 , eZeroLengthByte = 0 }
 
enum  ERealRadix {
  eDecimal = 0 , eDecimalEncoding = 0xC0 , eDecimal_NR1 = 1 , eDecimal_NR2 = 2 ,
  eDecimal_NR3 = 3 , ePositiveInfinity = 0x40 , eNegativeInfinity = 0x41 , eNotANumber = 0x42 ,
  eNegativeZero = 0x43
}
 
typedef Uint1 TByte
 
typedef Int4 TLongTag
 

Static Public Member Functions

static TByte MakeTagByte (ETagClass tag_class, ETagConstructed tag_constructed, ETagValue tag_value)
 
static TByte MakeTagClassAndConstructed (ETagClass tag_class, ETagConstructed tag_constructed)
 
static TByte MakeContainerTagByte (bool random_order)
 
static ETagValue GetTagValue (TByte byte)
 
static ETagValue StringTag (EStringType type)
 
static ETagConstructed GetTagConstructed (TByte byte)
 
static bool IsTagConstructed (TByte byte)
 
static ETagClass GetTagClass (TByte byte)
 
static TByte GetTagClassAndConstructed (TByte byte)
 

Detailed Description

Definition at line 56 of file objstrasnb.hpp.


The documentation for this class was generated from the following file:
Modified on Tue Apr 16 20:07:08 2024 by modify_doxy.py rev. 669887