NCBI C++ ToolKit
Namespaces | Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables
Object Stream Support
+ Collaboration diagram for Object Stream Support:

Namespaces

 ns_ObjectIStreamFilterIterator
 

Classes

class  CDelayBuffer
 CDelayBuffer. More...
 
struct  CDelayBuffer::SInfo
 
class  CSerialException
 Root class for all serialization exceptions. More...
 
class  CUnassignedMember
 Thrown on an attempt to write unassigned data member. More...
 
class  CInvalidChoiceSelection
 Thrown on an attempt to access wrong choice variant. More...
 
class  CSerialFacetException
 
class  CReadObjectInfo
 
class  CReadObjectList
 
class  CWriteObjectInfo
 
class  CWriteObjectList
 
class  CObjectStackFrame
 
class  CObjectStack
 
class  CAsnBinaryDefs
 
class  CPathHook
 
class  CStreamPathHookBase
 
class  CStreamPathHook< TInfo, THook >
 
class  CStreamObjectPathHook< THook >
 
class  CObjectStreamCopier
 CObjectStreamCopier –. More...
 
class  CObjectTypeInfo
 CObjectTypeInfo –. More...
 
class  CConstObjectInfo
 CConstObjectInfo –. More...
 
class  CObjectInfo
 CObjectInfo –. More...
 
class  COStreamFrame
 
class  CIStreamFrame
 
class  COStreamClassMember
 Writing class members. More...
 
class  CIStreamClassMemberIterator
 Reading (iterating through) members of the class (SET, SEQUENCE) More...
 
class  CIStreamContainerIterator
 Reading (iterating through) elements of containers (SET OF, SEQUENCE OF). More...
 
class  COStreamContainer
 Writing containers (SET OF, SEQUENCE OF). More...
 
class  CConstObjectInfoEI
 CConstObjectInfoEI –. More...
 
class  CObjectInfoEI
 CObjectInfoEI –. More...
 
class  CObjectTypeInfoII
 CObjectTypeInfoII –. More...
 
class  CObjectTypeInfoMI
 CObjectTypeInfoMI –. More...
 
class  CObjectTypeInfoVI
 CObjectTypeInfoVI –. More...
 
class  CConstObjectInfoMI
 CConstObjectInfoMI –. More...
 
class  CObjectInfoMI
 CObjectInfoMI –. More...
 
class  CObjectTypeInfoCV
 CObjectTypeInfoCV –. More...
 
class  CConstObjectInfoCV
 CConstObjectInfoCV –. More...
 
class  CObjectInfoCV
 CObjectInfoCV –. More...
 
class  CReadObjectHook
 Read hook for a standalone object. More...
 
class  CReadClassMemberHook
 Read hook for data member of a containing object (eg, SEQUENCE) More...
 
class  CPreReadClassMemberHook
 Read hook for data member of a containing object (eg, SEQUENCE) More...
 
class  CReadChoiceVariantHook
 Read hook for a choice variant (CHOICE) More...
 
class  CPreReadChoiceVariantHook
 Read hook for a choice variant (CHOICE) More...
 
class  CReadContainerElementHook
 Read hook for a container element (SEQUENCE OF) More...
 
class  CWriteObjectHook
 Write hook for a standalone object. More...
 
class  CWriteClassMemberHook
 Write hook for data member of a containing object (eg, SEQUENCE) More...
 
class  CWriteChoiceVariantHook
 Write hook for a choice variant (CHOICE) More...
 
class  CSkipObjectHook
 Skip hook for a standalone object. More...
 
class  CSkipClassMemberHook
 Skip hook for data member of a containing object (eg, SEQUENCE) More...
 
class  CSkipChoiceVariantHook
 Skip hook for a choice variant (CHOICE) More...
 
class  CCopyObjectHook
 Copy hook for a standalone object. More...
 
class  CCopyClassMemberHook
 Copy hook for data member of a containing object (eg, SEQUENCE) More...
 
class  CCopyChoiceVariantHook
 Copy hook for a choice variant (CHOICE) More...
 
class  CObjectHookGuardBase
 
class  CObjectHookGuard< T >
 Helper class: installs hooks in constructor, and uninstalls in destructor. More...
 
class  CSerial_FilterObjectsHook< TObject >
 Helper hook for Serial_FilterObjects function template; User hook class should be derived from this base class. More...
 
class  CSerial_FilterReadObjectsHook< TObject >
 
class  CObjectIStream
 CObjectIStream –. More...
 
class  CObjectIStream::AsnIo
 
class  CObjectIStream::CharBlock
 
class  CObjectIStream::ByteBlock
 
class  CStreamDelayBufferGuard
 Guard class for CObjectIStream::StartDelayBuffer/EndDelayBuffer. More...
 
class  CObjectIStreamAsn
 CObjectIStreamAsn –. More...
 
class  CObjectIStreamAsnBinary
 CObjectIStreamAsnBinary –. More...
 
class  CObjectIStreamJson
 CObjectIStreamJson –. More...
 
class  CObjectIStreamXml
 CObjectIStreamXml –. More...
 
class  CObjectOStream
 CObjectOStream –. More...
 
class  CObjectOStream::AsnIo
 
class  CObjectOStream::CharBlock
 
class  CObjectOStream::ByteBlock
 
class  CObjectOStreamAsn
 CObjectOStreamAsn –. More...
 
class  CObjectOStreamAsnBinary
 CObjectOStreamAsnBinary –. More...
 
class  CObjectOStreamJson
 CObjectOStreamJson –. More...
 
class  CObjectOStreamXml
 CObjectOStreamXml –. More...
 
class  CObjectIStreamAsyncIterator<>
 CObjectIStreamAsyncIterator. More...
 
class  CObjectIStreamAsyncIterator<>::CParams< TObj >
 Asynchronous parsing parameters. More...
 
class  CObjectIStreamIterator<>
 CObjectIStreamIterator. More...
 
class  CObjectIStreamIterator<>::CParams< TObj >
 Filtering parameters. More...
 
class  CObjectIStreamIterator< TRoot >
 template specializations and implementation More...
 
class  CObjectIStreamIterator< TRoot >::CData::x_CObjectIStreamIteratorHook< TR >
 
struct  CObjectIStreamIterator< TRoot >::CData
 
class  CObjectIStreamIterator< TRoot, TChild >
 CObjectIStreamIterator<TRoot, TChild> More...
 
class  CObjectIStreamIterator< TRoot, TChild >::x_CObjectIStreamIteratorReadHook< TR >
 
class  CObjectIStreamAsyncIterator< TRoot >
 CObjectIStreamAsyncIterator<TRoot> More...
 
struct  CObjectIStreamAsyncIterator< TRoot >::CData
 
class  CObjectIStreamAsyncIterator< TRoot, TChild >
 CObjectIStreamAsyncIterator<TRoot, TChild> More...
 
class  CIStreamIteratorThread_Base< TRoot, TObject >
 
class  CIStreamObjectHook< TRoot, TObject >
 
class  CIStreamObjectIteratorThread< TRoot, TObject >
 
class  CIStreamStdIteratorThread< TRoot, TObject >
 
class  CIStreamIterator_Base< TRoot, TObject >
 
class  CIStreamObjectIterator< TRoot, TObject >
 Stream iterator for serial objects. More...
 
class  CIStreamStdIterator< TRoot, TObject >
 Stream iterator for standard type objects. More...
 

Macros

#define ThrowError(flag, mess)   ThrowError1(DIAG_COMPILE_INFO,flag,mess)
 
#define BEGIN_OBJECT_FRAME_OFx(Stream, Args)
 
#define END_OBJECT_FRAME_OF(Stream)
 
#define BEGIN_OBJECT_FRAME_OF(Stream, Type)   BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type))
 
#define BEGIN_OBJECT_FRAME_OF2(Stream, Type, Arg)   BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg))
 
#define BEGIN_OBJECT_FRAME_OF3(Stream, Type, Arg1, Arg2)   BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg1, Arg2))
 
#define BEGIN_OBJECT_FRAME(Type)   BEGIN_OBJECT_FRAME_OF(*this, Type)
 
#define BEGIN_OBJECT_FRAME2(Type, Arg)   BEGIN_OBJECT_FRAME_OF2(*this, Type, Arg)
 
#define BEGIN_OBJECT_FRAME3(Type, Arg1, Arg2)   BEGIN_OBJECT_FRAME_OF3(*this, Type, Arg1, Arg2)
 
#define END_OBJECT_FRAME()   END_OBJECT_FRAME_OF(*this)
 
#define BEGIN_OBJECT_2FRAMES_OFx(Stream, Args)
 
#define END_OBJECT_2FRAMES_OF(Stream)
 
#define BEGIN_OBJECT_2FRAMES_OF(Stream, Type)   BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type))
 
#define BEGIN_OBJECT_2FRAMES_OF2(Stream, Type, Arg)   BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type, Arg))
 
#define BEGIN_OBJECT_2FRAMES(Type)   BEGIN_OBJECT_2FRAMES_OF(*this, Type)
 
#define BEGIN_OBJECT_2FRAMES2(Type, Arg)   BEGIN_OBJECT_2FRAMES_OF2(*this, Type, Arg)
 
#define END_OBJECT_2FRAMES()   END_OBJECT_2FRAMES_OF(*this)
 
#define CHECK_INSTREAM_STATE   1
 
#define CHECK_INSTREAM_LIMITS   1
 
#define CHECK_OUTSTREAM_INTEGRITY   1
 
#define USE_DEF_LEN   1
 

Typedefs

typedef CObjectIStream::TFailFlags CObjectStreamCopier::TFailFlags
 

Enumerations

enum  CSerialException::EErrCode {
  CSerialException::eNotImplemented, CSerialException::eEOF, CSerialException::eIoError, CSerialException::eFormatError,
  CSerialException::eOverflow, CSerialException::eInvalidData, CSerialException::eIllegalCall, CSerialException::eFail,
  CSerialException::eNotOpen, CSerialException::eMissingValue, CSerialException::eNullValue
}
 Error codes. More...
 
enum  CUnassignedMember::EErrCode { CUnassignedMember::eGet, CUnassignedMember::eWrite, CUnassignedMember::eUnknownMember }
 
enum  CInvalidChoiceSelection::EErrCode { CInvalidChoiceSelection::eFail }
 
enum  CSerialFacetException::EErrCode {
  CSerialFacetException::eMinLength, CSerialFacetException::eMaxLength, CSerialFacetException::eLength, CSerialFacetException::ePattern,
  CSerialFacetException::eInclusiveMinimum, CSerialFacetException::eExclusiveMinimum, CSerialFacetException::eInclusiveMaximum, CSerialFacetException::eExclusiveMaximum,
  CSerialFacetException::eMultipleOf, CSerialFacetException::eMinItems, CSerialFacetException::eMaxItems, CSerialFacetException::eUniqueItems
}
 Error codes. More...
 
enum  CObjectStackFrame::EFrameType {
  CObjectStackFrame::eFrameOther = 0, CObjectStackFrame::eFrameNamed, CObjectStackFrame::eFrameArray, CObjectStackFrame::eFrameArrayElement,
  CObjectStackFrame::eFrameClass, CObjectStackFrame::eFrameClassMember, CObjectStackFrame::eFrameChoice, CObjectStackFrame::eFrameChoiceVariant
}
 
enum  CAsnBinaryDefs::ETagType { CAsnBinaryDefs::eExplicit = 0, CAsnBinaryDefs::eImplicit, CAsnBinaryDefs::eAutomatic }
 
enum  CAsnBinaryDefs::ETagClass {
  CAsnBinaryDefs::eUniversal = 0 << 6, CAsnBinaryDefs::eApplication = 1 << 6, CAsnBinaryDefs::eContextSpecific = 2 << 6, CAsnBinaryDefs::ePrivate = 3 << 6,
  CAsnBinaryDefs::eTagClassMask = 3 << 6
}
 
enum  CAsnBinaryDefs::ETagConstructed { CAsnBinaryDefs::ePrimitive = 0 << 5, CAsnBinaryDefs::eConstructed = 1 << 5, CAsnBinaryDefs::eTagConstructedMask = 1 << 5 }
 
enum  CAsnBinaryDefs::ETagValue {
  CAsnBinaryDefs::eNone = 0, CAsnBinaryDefs::eBoolean = 1, CAsnBinaryDefs::eInteger = 2, CAsnBinaryDefs::eBitString = 3,
  CAsnBinaryDefs::eOctetString = 4, CAsnBinaryDefs::eNull = 5, CAsnBinaryDefs::eObjectIdentifier = 6, CAsnBinaryDefs::eObjectDescriptor = 7,
  CAsnBinaryDefs::eExternal = 8, CAsnBinaryDefs::eReal = 9, CAsnBinaryDefs::eEnumerated = 10, CAsnBinaryDefs::eUTF8String = 12,
  CAsnBinaryDefs::eSequence = 16, CAsnBinaryDefs::eSequenceOf = eSequence, CAsnBinaryDefs::eSet = 17, CAsnBinaryDefs::eSetOf = eSet,
  CAsnBinaryDefs::eNumericString = 18, CAsnBinaryDefs::ePrintableString = 19, CAsnBinaryDefs::eTeletextString = 20, CAsnBinaryDefs::eT61String = 20,
  CAsnBinaryDefs::eVideotextString = 21, CAsnBinaryDefs::eIA5String = 22, CAsnBinaryDefs::eUTCTime = 23, CAsnBinaryDefs::eGeneralizedTime = 24,
  CAsnBinaryDefs::eGraphicString = 25, CAsnBinaryDefs::eVisibleString = 26, CAsnBinaryDefs::eISO646String = 26, CAsnBinaryDefs::eGeneralString = 27,
  CAsnBinaryDefs::eMemberReference = 29, CAsnBinaryDefs::eObjectReference = 30, CAsnBinaryDefs::eLongTag = 31, CAsnBinaryDefs::eStringStore = 1,
  CAsnBinaryDefs::eTagValueMask = 31
}
 
enum  CAsnBinaryDefs::ESpecialOctets { CAsnBinaryDefs::eContainterTagByte = TByte(eConstructed) | TByte(eSequence), CAsnBinaryDefs::eIndefiniteLengthByte = 0x80, CAsnBinaryDefs::eEndOfContentsByte = 0, CAsnBinaryDefs::eZeroLengthByte = 0 }
 
enum  CAsnBinaryDefs::ERealRadix {
  CAsnBinaryDefs::eDecimal = 0, CAsnBinaryDefs::eDecimalEncoding = 0xC0, CAsnBinaryDefs::eDecimal_NR1 = 1, CAsnBinaryDefs::eDecimal_NR2 = 2,
  CAsnBinaryDefs::eDecimal_NR3 = 3, CAsnBinaryDefs::ePositiveInfinity = 0x40, CAsnBinaryDefs::eNegativeInfinity = 0x41, CAsnBinaryDefs::eNotANumber = 0x42,
  CAsnBinaryDefs::eNegativeZero = 0x43
}
 
enum  CObjectStreamCopier::ENoFileHeader { CObjectStreamCopier::eNoFileHeader }
 
enum  CConstObjectInfo::ENonCObject { CConstObjectInfo::eNonCObject }
 
enum  CIStreamContainerIterator::EState {
  CIStreamContainerIterator::eElementBegin, CIStreamContainerIterator::eElementEnd, CIStreamContainerIterator::eNoMoreElements, CIStreamContainerIterator::eFinished,
  CIStreamContainerIterator::eError
}
 
enum  CObjectInfoMI::EEraseFlag { CObjectInfoMI::eErase_Optional, CObjectInfoMI::eErase_Mandatory }
 Erase types. More...
 
enum  EDefaultHookAction { eDefault_Normal, eDefault_Skip }
 
enum  CObjectHookGuardBase::EHookMode {
  CObjectHookGuardBase::eHook_None, CObjectHookGuardBase::eHook_Read, CObjectHookGuardBase::eHook_Write, CObjectHookGuardBase::eHook_Skip,
  CObjectHookGuardBase::eHook_Copy
}
 
enum  CObjectHookGuardBase::EHookType {
  CObjectHookGuardBase::eHook_Null, CObjectHookGuardBase::eHook_Object, CObjectHookGuardBase::eHook_Member, CObjectHookGuardBase::eHook_Variant,
  CObjectHookGuardBase::eHook_Element
}
 
enum  CObjectIStream::EFailFlags {
  CObjectIStream::fNoError = 0, CObjectIStream::eNoError = fNoError, CObjectIStream::fEOF = 1 << 0, CObjectIStream::eEOF = fEOF,
  CObjectIStream::fReadError = 1 << 1, CObjectIStream::eReadError = fReadError, CObjectIStream::fFormatError = 1 << 2, CObjectIStream::eFormatError = fFormatError,
  CObjectIStream::fOverflow = 1 << 3, CObjectIStream::eOverflow = fOverflow, CObjectIStream::fInvalidData = 1 << 4, CObjectIStream::eInvalidData = fInvalidData,
  CObjectIStream::fIllegalCall = 1 << 5, CObjectIStream::eIllegalCall = fIllegalCall, CObjectIStream::fFail = 1 << 6, CObjectIStream::eFail = fFail,
  CObjectIStream::fNotOpen = 1 << 7, CObjectIStream::eNotOpen = fNotOpen, CObjectIStream::fNotImplemented = 1 << 8, CObjectIStream::eNotImplemented = fNotImplemented,
  CObjectIStream::fMissingValue = 1 << 9, CObjectIStream::eMissingValue = fMissingValue, CObjectIStream::fUnknownValue = 1 << 10, CObjectIStream::eUnknownValue = fUnknownValue,
  CObjectIStream::fNullValue = 1 << 11, CObjectIStream::eNullValue = fNullValue
}
 Fail flags. More...
 
enum  CObjectIStream::EDelayBufferParsing { CObjectIStream::eDelayBufferPolicyNotSet, CObjectIStream::eDelayBufferPolicyAlwaysParse, CObjectIStream::eDelayBufferPolicyNeverParse }
 DelayBuffer parsing policy. More...
 
enum  CObjectIStream::ENoFileHeader { CObjectIStream::eNoFileHeader }
 
enum  CObjectIStream::EPointerType { CObjectIStream::eNullPointer, CObjectIStream::eObjectPointer, CObjectIStream::eThisPointer, CObjectIStream::eOtherPointer }
 
enum  CObjectIStream::EFlags {
  CObjectIStream::fFlagNone = 0, CObjectIStream::eFlagNone = fFlagNone, CObjectIStream::fFlagAllowNonAsciiChars = 1 << 0, CObjectIStream::eFlagAllowNonAsciiChars = fFlagAllowNonAsciiChars,
  CObjectIStream::fFlagEnforcedStdXml = 1 << 1, CObjectIStream::eFlagEnforcedStdXml = fFlagEnforcedStdXml
}
 
enum  CObjectIStream::ESpecialCaseRead { CObjectIStream::eReadAsNormal = 0, CObjectIStream::eReadAsDefault = 1, CObjectIStream::eReadAsNil = 2, CObjectIStream::eReadAsBigInt = 4 }
 
enum  CObjectIStreamJson::EBinaryDataFormat {
  CObjectIStreamJson::eDefault, CObjectIStreamJson::eArray_Bool, CObjectIStreamJson::eArray_01, CObjectIStreamJson::eArray_Uint,
  CObjectIStreamJson::eString_Hex, CObjectIStreamJson::eString_01, CObjectIStreamJson::eString_01B, CObjectIStreamJson::eString_Base64
}
 formatting of binary data ('OCTET STRING', 'hexBinary', 'base64Binary') More...
 
enum  CObjectIStreamXml::ETagState { CObjectIStreamXml::eTagOutside, CObjectIStreamXml::eTagInsideOpening, CObjectIStreamXml::eTagInsideClosing, CObjectIStreamXml::eTagSelfClosed }
 
enum  CObjectOStream::EFailFlags {
  CObjectOStream::fNoError = 0, CObjectOStream::eNoError = fNoError, CObjectOStream::fWriteError = 1 << 1, CObjectOStream::eWriteError = fWriteError,
  CObjectOStream::fOverflow = 1 << 3, CObjectOStream::eOverflow = fOverflow, CObjectOStream::fInvalidData = 1 << 4, CObjectOStream::eInvalidData = fInvalidData,
  CObjectOStream::fIllegalCall = 1 << 5, CObjectOStream::eIllegalCall = fIllegalCall, CObjectOStream::fFail = 1 << 6, CObjectOStream::eFail = fFail,
  CObjectOStream::fNotOpen = 1 << 7, CObjectOStream::eNotOpen = fNotOpen, CObjectOStream::fNotImplemented = 1 << 8, CObjectOStream::eNotImplemented = fNotImplemented,
  CObjectOStream::fUnassigned = 1 << 9, CObjectOStream::eUnassigned = fUnassigned
}
 Fail flags. More...
 
enum  CObjectOStream::EDelayBufferParsing { CObjectOStream::eDelayBufferPolicyNotSet, CObjectOStream::eDelayBufferPolicyAlwaysParse, CObjectOStream::eDelayBufferPolicyNeverParse }
 DelayBuffer parsing policy. More...
 
enum  CObjectOStream::EFlags {
  CObjectOStream::fFlagNone = 0, CObjectOStream::eFlagNone = fFlagNone, CObjectOStream::fFlagAllowNonAsciiChars = 1 << 0, CObjectOStream::eFlagAllowNonAsciiChars = fFlagAllowNonAsciiChars,
  CObjectOStream::fFlagNoAutoFlush = 1 << 1
}
 
enum  CObjectOStream::ESpecialCaseWrite { CObjectOStream::eWriteAsNormal = 0, CObjectOStream::eWriteAsDefault = 1, CObjectOStream::eWriteAsNil = 2, CObjectOStream::eWriteAsBigInt = 3 }
 
enum  CObjectOStreamJson::EBinaryDataFormat {
  CObjectOStreamJson::eDefault, CObjectOStreamJson::eArray_Bool, CObjectOStreamJson::eArray_01, CObjectOStreamJson::eArray_Uint,
  CObjectOStreamJson::eString_Hex, CObjectOStreamJson::eString_01, CObjectOStreamJson::eString_01B, CObjectOStreamJson::eString_Base64
}
 formatting of binary data ('OCTET STRING', 'hexBinary', 'base64Binary') More...
 
enum  CObjectOStreamXml::ERealValueFormat { CObjectOStreamXml::eRealFixedFormat, CObjectOStreamXml::eRealScientificFormat }
 formatting of values of type 'real' ('double') More...
 
enum  CObjectOStreamXml::ETagAction { CObjectOStreamXml::eTagOpen, CObjectOStreamXml::eTagClose, CObjectOStreamXml::eTagSelfClosed, CObjectOStreamXml::eAttlistTag }
 
enum  CObjectIStreamIterator< TRoot >::CData::EFilter {
  CObjectIStreamIterator< TRoot >::CData::eNone, CObjectIStreamIterator< TRoot >::CData::eOneSeq, CObjectIStreamIterator< TRoot >::CData::eOneRandom, CObjectIStreamIterator< TRoot >::CData::eAllSeq,
  CObjectIStreamIterator< TRoot >::CData::eAllRandom, CObjectIStreamIterator< TRoot >::CData::eOneChoice, CObjectIStreamIterator< TRoot >::CData::eAllChoice, CObjectIStreamIterator< TRoot >::CData::eOneContainer,
  CObjectIStreamIterator< TRoot >::CData::eAllContainer
}
 

Functions

 CObjectStreamCopier::CObjectStreamCopier (CObjectIStream &in, CObjectOStream &out)
 Constructor. More...
 
 CObjectStreamCopier::~CObjectStreamCopier (void)
 Destructor. More...
 
CObjectIStreamCObjectStreamCopier::In (void) const
 
CObjectOStreamCObjectStreamCopier::Out (void) const
 
void CObjectStreamCopier::ResetLocalHooks (void)
 
void CObjectStreamCopier::Copy (const CObjectTypeInfo &type)
 Copy data. More...
 
void CObjectStreamCopier::Copy (TTypeInfo type, ENoFileHeader noFileHeader)
 Copy data when the input file header is already read. More...
 
void CObjectStreamCopier::CopyObject (TTypeInfo type)
 Copy object, omitting file header both in input and output streams. More...
 
void CObjectStreamCopier::CopyExternalObject (TTypeInfo type)
 
void CObjectStreamCopier::CopyString (EStringType type=eStringTypeVisible)
 
void CObjectStreamCopier::CopyStringStore (void)
 
void CObjectStreamCopier::CopyByteBlock (void)
 
void CObjectStreamCopier::CopyAnyContentObject (void)
 
void CObjectStreamCopier::CopyNamedType (TTypeInfo namedTypeInfo, TTypeInfo objectType)
 
void CObjectStreamCopier::CopyPointer (TTypeInfo declaredType)
 
bool CObjectStreamCopier::CopyNullPointer (void)
 
void CObjectStreamCopier::CopyContainer (const CContainerTypeInfo *containerType)
 
void CObjectStreamCopier::CopyClassRandom (const CClassTypeInfo *classType)
 
void CObjectStreamCopier::CopyClassSequential (const CClassTypeInfo *classType)
 
void CObjectStreamCopier::CopyChoice (const CChoiceTypeInfo *choiceType)
 
void CObjectStreamCopier::CopyAlias (const CAliasTypeInfo *aliasType)
 
void CObjectStreamCopier::ThrowError1 (const CDiagCompileInfo &diag_info, TFailFlags fail, const char *message)
 
void CObjectStreamCopier::ThrowError1 (const CDiagCompileInfo &diag_info, TFailFlags fail, const string &message)
 
void CObjectStreamCopier::ExpectedMember (const CMemberInfo *memberInfo)
 
void CObjectStreamCopier::DuplicatedMember (const CMemberInfo *memberInfo)
 
void CObjectStreamCopier::SetPathCopyObjectHook (const string &path, CCopyObjectHook *hook)
 
void CObjectStreamCopier::SetPathCopyMemberHook (const string &path, CCopyClassMemberHook *hook)
 
void CObjectStreamCopier::SetPathCopyVariantHook (const string &path, CCopyChoiceVariantHook *hook)
 
void CObjectStreamCopier::SetPathHooks (CObjectStack &stk, bool set)
 
template<class C >
TTypeInfo ObjectType (const C &)
 
template<class C >
pair< TObjectPtr, TTypeInfoObjectInfo (C &obj)
 
template<class C >
pair< TConstObjectPtr, TTypeInfoConstObjectInfo (const C &obj)
 
template<class C >
pair< TConstObjectPtr, TTypeInfoObjectInfo (const C &obj)
 
template<class C >
pair< TObjectPtr, TTypeInfoRefChoiceInfo (CRef< C > &obj)
 
template<class C >
pair< TConstObjectPtr, TTypeInfoConstRefChoiceInfo (const CRef< C > &obj)
 
template<typename T >
void operator>> (CIStreamContainerIterator &i, T &element)
 
template<typename T >
void operator<< (COStreamContainer &o, const T &element)
 
template<typename TObj >
TObj::TmemberIndex Serial_GetAssignedMembers (TObj &obj)
 
template<typename TObj >
void Serial_ResetMembers (TObj &obj, typename TObj::TmemberIndex &mi)
 
bool Serial_FilterSkip (CObjectIStream &in, const CObjectTypeInfo &ctype)
 
template<typename TRoot , typename TObject >
void Serial_FilterObjects (CObjectIStream &in, CSerial_FilterObjectsHook< TObject > *hook, bool readall=true)
 Scan input stream, finding objects of requested type (TObject) only. More...
 
template<typename TRoot , typename TObject >
void Serial_FilterStdObjects (CObjectIStream &in, CSerial_FilterObjectsHook< TObject > *hook, bool readall=true)
 Scan input stream, finding objects that are not derived from CSerialObject. More...
 
bool GoodVisibleChar (char c)
 
char ReplaceVisibleChar (char c, EFixNonPrint fix_method, const CObjectStack *io, const string &str)
 
void FixVisibleChar (char &c, EFixNonPrint fix_method, const CObjectStack *io, const string &str)
 
void CObjectOStream::EnforceWritingDefaultValues (bool enforce=true)
 
bool CObjectOStream::IsWritingDefaultValuesEnforced () const
 
 CObjectIStreamIterator< TRoot >::CObjectIStreamIterator (void)
 CObjectIStreamIterator<TRoot> implementation. More...
 
 CObjectIStreamIterator< TRoot >::CObjectIStreamIterator (CObjectIStream &istr, const CParams &params, EOwnership deleteInStream)
 
 CObjectIStreamIterator< TRoot >::CObjectIStreamIterator (CObjectIStream &istr, EOwnership deleteInStream=eNoOwnership, const CParams &params=CParams())
 
 CObjectIStreamIterator< TRoot >::CObjectIStreamIterator (const CObjectIStreamIterator &)
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot >::operator= (const CObjectIStreamIterator &)
 
 CObjectIStreamIterator< TRoot >::~CObjectIStreamIterator ()
 
 CObjectIStreamIterator< TRoot >::CData::CData (CObjectIStream &istr, EOwnership deleteInStream, const CParams &params, TTypeInfo tinfo)
 
 CObjectIStreamIterator< TRoot >::CData::~CData (void)
 
void CObjectIStreamIterator< TRoot >::CData::x_BeginRead (void)
 
void CObjectIStreamIterator< TRoot >::CData::x_EndRead (void)
 
void CObjectIStreamIterator< TRoot >::x_ReaderThread (void)
 
void CObjectIStreamIterator< TRoot, TChild >::x_ReaderThread (void)
 
void CObjectIStreamIterator< TRoot >::CData::x_AcceptData (CObjectIStream &in, const CObjectInfo &type)
 
void CObjectIStreamIterator< TRoot >::CData::x_Next (void)
 
bool CObjectIStreamIterator< TRoot >::CData::x_NextNoFilter (const CObjectInfo &objinfo)
 
bool CObjectIStreamIterator< TRoot >::CData::x_NextSeqWithFilter (const CObjectInfo &objinfo)
 
bool CObjectIStreamIterator< TRoot >::CData::x_NextChoiceWithFilter (const CObjectInfo &objinfo)
 
bool CObjectIStreamIterator< TRoot >::CData::x_NextContainerWithFilter (const CObjectInfo &objinfo)
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot >::operator++ (void)
 
bool CObjectIStreamIterator< TRoot >::operator== (const CObjectIStreamIterator &) const
 
bool CObjectIStreamIterator< TRoot >::operator!= (const CObjectIStreamIterator &) const
 
bool CObjectIStreamIterator< TRoot >::IsValid (void) const
 
const CObjectIStreamCObjectIStreamIterator< TRoot >::GetObjectIStream (void) const
 
TRoot & CObjectIStreamIterator< TRoot >::operator* ()
 
TRoot * CObjectIStreamIterator< TRoot >::operator-> ()
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot >::begin (void)
 
CObjectIStreamIterator CObjectIStreamIterator< TRoot >::end (void)
 
 CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator (void)
 CObjectIStreamIterator<TRoot, TChild> implementation. More...
 
 CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator (CObjectIStream &istr, EOwnership deleteInStream=eNoOwnership, const CParams &params=CParams())
 
 CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator (const CObjectIStreamIterator &)
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot, TChild >::operator= (const CObjectIStreamIterator &)
 
 CObjectIStreamIterator< TRoot, TChild >::~CObjectIStreamIterator ()
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot, TChild >::operator++ (void)
 
CObjectIStreamIteratorCObjectIStreamIterator< TRoot, TChild >::begin (void)
 
CObjectIStreamIterator CObjectIStreamIterator< TRoot, TChild >::end (void)
 
 CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator (void)
 CObjectIStreamAsyncIterator<TRoot> implementation. More...
 
 CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator (CObjectIStream &istr, EOwnership deleteInStream=eNoOwnership, const CParams &params=CParams())
 
 CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator (CObjectIStream &istr, EOwnership deleteInStream, FParserFunction parser, const CParams &params)
 
 CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator (const CObjectIStreamAsyncIterator &)
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot >::operator= (const CObjectIStreamAsyncIterator &)
 
 CObjectIStreamAsyncIterator< TRoot >::~CObjectIStreamAsyncIterator ()
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot >::operator++ (void)
 
bool CObjectIStreamAsyncIterator< TRoot >::operator== (const CObjectIStreamAsyncIterator &) const
 
bool CObjectIStreamAsyncIterator< TRoot >::operator!= (const CObjectIStreamAsyncIterator &) const
 
bool CObjectIStreamAsyncIterator< TRoot >::IsValid (void) const
 
TRoot & CObjectIStreamAsyncIterator< TRoot >::operator* ()
 
TRoot * CObjectIStreamAsyncIterator< TRoot >::operator-> ()
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot >::begin (void)
 
CObjectIStreamAsyncIterator CObjectIStreamAsyncIterator< TRoot >::end (void)
 
static TObjectsQueue CObjectIStreamAsyncIterator< TRoot >::sx_ClearGarbageAndParse (CRef< CByteSource > bytesource, ESerialDataFormat format, const CParams &params, TObjectsQueue &&garbage)
 
 CObjectIStreamAsyncIterator< TRoot >::CData::CData (CObjectIStream &istr, EOwnership deleteInStream, FParserFunction parser, const CParams &params)
 
 CObjectIStreamAsyncIterator< TRoot >::CData::~CData (void)
 
void CObjectIStreamAsyncIterator< TRoot >::CData::x_UpdateObjectsQueue ()
 
void CObjectIStreamAsyncIterator< TRoot >::CData::x_UpdateFuturesQueue ()
 
CRef< CByteSourceCObjectIStreamAsyncIterator< TRoot >::CData::x_GetNextData (void)
 
void CObjectIStreamAsyncIterator< TRoot >::CData::x_ReaderThread (void)
 
 CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator (void)
 CObjectIStreamAsyncIterator<TRoot,TChild> implementation. More...
 
 CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator (CObjectIStream &istr, EOwnership deleteInStream=eNoOwnership, const CParams &params=CParams())
 
 CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator (const CObjectIStreamAsyncIterator &)
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot, TChild >::operator= (const CObjectIStreamAsyncIterator &)
 
 CObjectIStreamAsyncIterator< TRoot, TChild >::~CObjectIStreamAsyncIterator ()
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot, TChild >::operator++ (void)
 
CObjectIStreamAsyncIteratorCObjectIStreamAsyncIterator< TRoot, TChild >::begin (void)
 
CObjectIStreamAsyncIterator CObjectIStreamAsyncIterator< TRoot, TChild >::end (void)
 
static TObjectsQueue CObjectIStreamAsyncIterator< TRoot, TChild >::sx_ClearGarbageAndParse (CRef< CByteSource > bytesource, ESerialDataFormat format, const CParams &params, TObjectsQueue &&garbage)
 
virtual void CIStreamObjectHook< TRoot, TObject >::Process (const TObject &obj) override
 This method will be called when the object of the requested class is read. More...
 

Variables

CObjectIStreamCObjectStreamCopier::m_In
 
CObjectOStreamCObjectStreamCopier::m_Out
 
CStreamPathHook< CMemberInfo *, CCopyClassMemberHook * > CObjectStreamCopier::m_PathCopyMemberHooks
 
CStreamPathHook< CVariantInfo *, CCopyChoiceVariantHook * > CObjectStreamCopier::m_PathCopyVariantHooks
 
CStreamObjectPathHook< CCopyObjectHook * > CObjectStreamCopier::m_PathCopyObjectHooks
 
CLocalHookSet< CCopyObjectHookCObjectStreamCopier::m_ObjectHookKey
 
CLocalHookSet< CCopyClassMemberHookCObjectStreamCopier::m_ClassMemberHookKey
 
CLocalHookSet< CCopyChoiceVariantHookCObjectStreamCopier::m_ChoiceVariantHookKey
 

Detailed Description

Macro Definition Documentation

#define BEGIN_OBJECT_2FRAMES (   Type)    BEGIN_OBJECT_2FRAMES_OF(*this, Type)

Definition at line 249 of file objstack.hpp.

#define BEGIN_OBJECT_2FRAMES2 (   Type,
  Arg 
)    BEGIN_OBJECT_2FRAMES_OF2(*this, Type, Arg)

Definition at line 250 of file objstack.hpp.

Referenced by CObjectStreamCopier::Copy(), and CObjectStreamCopier::CopyPointer().

#define BEGIN_OBJECT_2FRAMES_OF (   Stream,
  Type 
)    BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type))
#define BEGIN_OBJECT_2FRAMES_OF2 (   Stream,
  Type,
  Arg 
)    BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type, Arg))
#define BEGIN_OBJECT_2FRAMES_OFx (   Stream,
  Args 
)
Value:
(Stream).In().PushFrame Args; \
(Stream).Out().PushFrame Args; \
try {
void Out(T t, int w, CNcbiOstream &to=cout)
Definition: parse.cpp:467

Definition at line 228 of file objstack.hpp.

#define BEGIN_OBJECT_FRAME (   Type)    BEGIN_OBJECT_FRAME_OF(*this, Type)
#define BEGIN_OBJECT_FRAME2 (   Type,
  Arg 
)    BEGIN_OBJECT_FRAME_OF2(*this, Type, Arg)
#define BEGIN_OBJECT_FRAME3 (   Type,
  Arg1,
  Arg2 
)    BEGIN_OBJECT_FRAME_OF3(*this, Type, Arg1, Arg2)
#define BEGIN_OBJECT_FRAME_OF (   Stream,
  Type 
)    BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type))
#define BEGIN_OBJECT_FRAME_OF2 (   Stream,
  Type,
  Arg 
)    BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg))
#define BEGIN_OBJECT_FRAME_OF3 (   Stream,
  Type,
  Arg1,
  Arg2 
)    BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg1, Arg2))
#define BEGIN_OBJECT_FRAME_OFx (   Stream,
  Args 
)
Value:
(Stream).PushFrame Args; \
try {

Definition at line 196 of file objstack.hpp.

#define CHECK_INSTREAM_LIMITS   1

Definition at line 48 of file objstrasnb.hpp.

#define CHECK_INSTREAM_STATE   1

Definition at line 47 of file objstrasnb.hpp.

#define CHECK_OUTSTREAM_INTEGRITY   1

Definition at line 49 of file objstrasnb.hpp.

#define END_OBJECT_2FRAMES ( )    END_OBJECT_2FRAMES_OF(*this)

Definition at line 251 of file objstack.hpp.

Referenced by CObjectStreamCopier::Copy(), and CObjectStreamCopier::CopyPointer().

#define END_OBJECT_2FRAMES_OF (   Stream)
Value:
} catch (CException& expt) { \
std::string msg((Stream).In().TopFrame().GetFrameInfo()); \
(Stream).Out().PopFrame(); \
(Stream).Out().SetFailFlagsNoError(CObjectOStream::fInvalidData); \
(Stream).In().PopErrorFrame(); \
} \
(Stream).Out().PopFrame(); \
(Stream).In().PopFrame()
static const unsigned char msg[]
Definition: ccm.c:378
void Out(T t, int w, CNcbiOstream &to=cout)
Definition: parse.cpp:467
string
Definition: cgiapp.hpp:498
Output data is incorrect.
Definition: objostr.hpp:319
#define NCBI_RETHROW_SAME(prev_exception, message)
Generic macro to re-throw the same exception.
Definition: ncbiexpt.hpp:592

Definition at line 233 of file objstack.hpp.

Referenced by CObjectOStream::CopyChoice(), CObjectOStream::CopyClassRandom(), CObjectOStream::CopyClassSequential(), CObjectOStream::CopyContainer(), and CObjectOStream::CopyNamedType().

#define END_OBJECT_FRAME ( )    END_OBJECT_FRAME_OF(*this)
#define END_OBJECT_FRAME_OF (   Stream)
Value:
} catch (CSerialException& s_expt) { \
std::string msg((Stream).TopFrame().GetFrameName()); \
(Stream).PopFrame(); \
s_expt.AddFrameInfo(msg); \
throw; \
} catch ( CEofException& e_expt ) { \
(Stream).HandleEOF(e_expt); \
} catch (CException& expt) { \
std::string msg((Stream).TopFrame().GetFrameInfo()); \
(Stream).PopFrame(); \
} \
(Stream).PopFrame()
static const unsigned char msg[]
Definition: ccm.c:378
string
Definition: cgiapp.hpp:498
#define NCBI_RETHROW_SAME(prev_exception, message)
Generic macro to re-throw the same exception.
Definition: ncbiexpt.hpp:592
Root class for all serialization exceptions.
Definition: exception.hpp:49

Definition at line 200 of file objstack.hpp.

Referenced by CObjectOStream::CopyNamedType(), CChoiceTypeInfoFunctions::ReadChoiceDefault(), CObjectInfo::ReadContainer(), CSequenceOfTypeInfoFunctions::ReadSequence(), CChoiceTypeInfoFunctions::SkipChoiceDefault(), CVariantInfo::UpdateDelayedBuffer(), CMemberInfo::UpdateDelayedBuffer(), and CChoiceTypeInfoFunctions::WriteChoiceDefault().

#define ThrowError (   flag,
  mess 
)    ThrowError1(DIAG_COMPILE_INFO,flag,mess)

Definition at line 113 of file objstack.hpp.

Referenced by CObjectIStreamAsn::BadStringChar(), CObjectIStreamJson::BeginBytes(), CObjectIStreamAsnBinary::BeginBytes(), CObjectIStreamAsn::BeginChoiceVariant(), CObjectOStreamAsnBinary::BeginChoiceVariant(), CObjectOStreamAsnBinary::BeginClass(), CObjectOStreamAsnBinary::BeginClassMember(), CObjectIStreamXml::BeginClosingTag(), CObjectIStreamXml::BeginOpeningTag(), CObjectIStreamXml::CloseStackTag(), CObjectIStreamXml::CloseTag(), CObjectOStreamAsnBinary::CopyAnyContentObject(), CObjectOStreamAsn::CopyAnyContentObject(), CObjectOStreamJson::CopyBitString(), CObjectStreamCopier::CopyPointer(), CObjectIStream::DuplicatedMember(), CObjectIStreamXml::EndOpeningTagSelfClosed(), CObjectIStreamXml::EndTag(), CObjectIStreamJson::Expect(), CObjectIStreamAsn::Expect(), CObjectIStream::ExpectedMember(), CObjectIStreamXml::GetBase64Char(), CObjectIStreamAsn::GetHexChar(), CObjectIStreamXml::GetHexChar(), CObjectIStream::GetRegisteredObject(), CObjectIStream::HandleEOF(), CObjectIStreamJson::NextElement(), CObjectIStreamAsn::NextElement(), CObjectIStreamXml::OpenStackTag(), CObjectIStreamXml::OpenTag(), CObjectIStreamAsnBinary::PeekAnyTagFirstByte(), CObjectIStreamAsnBinary::PeekClassTag(), CObjectIStreamAsnBinary::PeekLongTag(), CObjectOStreamXml::PrintTagName(), CObjectIStreamAsnBinary::ReadAnyContentObject(), CObjectIStreamJson::ReadAnyContentObject(), CObjectIStreamXml::ReadAttributeName(), CObjectIStreamXml::ReadAttributeValue(), CObjectIStreamJson::ReadBase64Bytes(), CObjectIStreamJson::ReadBitString(), CObjectIStreamXml::ReadBitString(), CObjectIStreamXml::ReadBool(), CObjectIStreamAsn::ReadBool(), CObjectIStreamXml::ReadBytes(), CObjectIStreamAsnBinary::ReadBytes(), CObjectIStreamXml::ReadCDSection(), CObjectIStreamXml::ReadChar(), CObjectIStreamAsn::ReadChar(), CObjectIStreamJson::ReadChars(), CObjectIStream::ReadChoiceSimple(), CObjectIStreamXml::ReadContainerContents(), CObjectIStreamXml::ReadDouble(), CObjectIStreamAsnBinary::ReadDouble(), CObjectIStreamAsn::ReadDouble(), CObjectIStreamXml::ReadEnum(), CObjectIStreamJson::ReadEscapedChar(), CObjectIStreamXml::ReadEscapedChar(), CObjectIStreamXml::ReadFileHeader(), CObjectIStreamAsn::ReadFileHeader(), CObjectIStream::ReadFloat(), CObjectIStream::ReadInt1(), CObjectIStream::ReadInt2(), CObjectIStream::ReadInt4(), CObjectIStreamAsnBinary::ReadLengthLong(), CObjectIStreamAsn::ReadMemberId(), CObjectIStreamXml::ReadName(), CObjectIStreamAsn::ReadNull(), CObjectIStreamXml::ReadNull(), CObjectIStreamAsn::ReadNumber(), CObjectIStreamXml::ReadObjectPointer(), CObjectIStreamJson::ReadObjectPointer(), CObjectIStreamAsn::ReadObjectPointer(), CObjectIStreamXml::ReadOtherPointer(), CObjectIStreamJson::ReadOtherPointer(), CObjectIStreamAsnBinary::ReadPointer(), CObjectIStream::ReadPointer(), CObjectIStreamJson::ReadPointerType(), CObjectIStreamAsn::ReadTypeId(), CObjectIStream::ReadUint1(), CObjectIStream::ReadUint2(), CObjectIStream::ReadUint4(), CObjectIStreamJson::ReadUtf8Char(), CObjectIStreamXml::ReadUtf8Char(), CObjectIStreamAsn::SkipBool(), CObjectIStreamXml::SkipByteBlock(), CObjectIStreamAsn::SkipByteBlock(), CObjectIStreamAsnBinary::SkipBytes(), CObjectIStream::SkipChoiceSimple(), CObjectIStream::SkipFileHeader(), CObjectIStreamAsnBinary::SkipFNumber(), CObjectIStreamAsn::SkipFNumber(), CObjectIStreamXml::SkipNull(), CObjectIStreamAsn::SkipNull(), CObjectIStream::SkipPointer(), CObjectIStreamXml::SkipQDecl(), CObjectIStreamXml::SkipSNumber(), CObjectIStreamAsn::SkipSNumber(), CObjectIStreamXml::SkipStackTagName(), CObjectIStreamXml::SkipTagName(), CObjectIStreamXml::SkipUNumber(), CObjectIStreamAsn::SkipUNumber(), CObjectIStreamJson::SkipWhiteSpace(), CObjectIStreamAsn::SkipWhiteSpace(), CObjectIStreamXml::SkipWSAndComments(), CObjectOStream::Unended(), CObjectIStream::Unended(), CObjectIStreamAsn::UnendedString(), CObjectIStreamAsnBinary::UnexpectedByte(), CObjectIStreamAsnBinary::UnexpectedContinuation(), CObjectIStreamAsnBinary::UnexpectedFixedLength(), CObjectIStreamAsnBinary::UnexpectedLongLength(), CObjectIStreamJson::UnexpectedMember(), CObjectIStreamAsn::UnexpectedMember(), CObjectIStreamXml::UnexpectedMember(), CObjectIStreamAsnBinary::UnexpectedMember(), CObjectIStreamAsnBinary::UnexpectedShortLength(), CObjectIStreamAsnBinary::UnexpectedSysTagByte(), CObjectIStreamAsnBinary::UnexpectedTagClassByte(), CObjectIStreamAsnBinary::UnexpectedTagValue(), CObjectOStreamAsnBinary::WriteAnyContentObject(), CObjectOStreamAsn::WriteAnyContentObject(), CObjectOStreamJson::WriteAnyContentObject(), CObjectOStreamXml::WriteAnyContentObject(), CObjectOStreamAsnBinary::WriteByte(), CObjectOStreamAsnBinary::WriteBytes(), CObjectOStreamJson::WriteChars(), CObjectOStreamAsnBinary::WriteClassTag(), CObjectOStream::WriteContainer(), CObjectOStreamXml::WriteContainerContents(), CObjectOStreamAsn::WriteDouble2(), CObjectOStreamJson::WriteDouble2(), CObjectOStreamAsnBinary::WriteDouble2(), CObjectOStreamAsnBinary::WriteLongTag(), CObjectOStreamAsn::WriteObjectReference(), CObjectOStreamJson::WriteObjectReference(), CObjectOStreamAsnBinary::WriteObjectReference(), CObjectOStreamXml::WriteObjectReference(), CObjectOStreamJson::WriteOther(), CObjectOStreamJson::WriteOtherBegin(), CObjectOStreamJson::WriteOtherEnd(), and CObjectIStreamJson::x_ReadString().

#define USE_DEF_LEN   1

Definition at line 46 of file objistrasnb.hpp.

Typedef Documentation

Definition at line 136 of file objcopy.hpp.

Enumeration Type Documentation

formatting of binary data ('OCTET STRING', 'hexBinary', 'base64Binary')

Enumerator
eDefault 

default

eArray_Bool 

array of 'true' and 'false'

eArray_01 

array of 1 and 0

eArray_Uint 

array of unsigned integers

eString_Hex 

HEX string.

eString_01 

string of 0 and 1

eString_01B 

string of 0 and 1, plus 'B' at the end

eString_Base64 

Base64Binary string.

Definition at line 90 of file objistrjson.hpp.

formatting of binary data ('OCTET STRING', 'hexBinary', 'base64Binary')

Enumerator
eDefault 

default

eArray_Bool 

array of 'true' and 'false'

eArray_01 

array of 1 and 0

eArray_Uint 

array of unsigned integers

eString_Hex 

HEX string.

eString_01 

string of 0 and 1

eString_01B 

string of 0 and 1, plus 'B' at the end

eString_Base64 

Base64Binary string.

Definition at line 93 of file objostrjson.hpp.

Enumerator
eDefault_Normal 
eDefault_Skip 

Definition at line 291 of file objhook.hpp.

DelayBuffer parsing policy.

Enumerator
eDelayBufferPolicyNotSet 

Parse only if local hook are present.

eDelayBufferPolicyAlwaysParse 

Parse always.

eDelayBufferPolicyNeverParse 

Never parse.

Definition at line 413 of file objostr.hpp.

DelayBuffer parsing policy.

Enumerator
eDelayBufferPolicyNotSet 

Parse only if local hook are present.

eDelayBufferPolicyAlwaysParse 

Parse always.

eDelayBufferPolicyNeverParse 

Never parse.

Definition at line 508 of file objistr.hpp.

Erase types.

Enumerator
eErase_Optional 

default - erase optional member only

eErase_Mandatory 

allow erasing mandatory members, may be dangerous!

Definition at line 453 of file objectiter.hpp.

Error codes.

Enumerator
eNotImplemented 

Attempt to use unimplemented funtionality.

eEOF 

Unexpected end-of-file.

eIoError 

An unknown error during serialization.

eFormatError 

Malformed input data.

eOverflow 

Data is beyond the allowed limits.

eInvalidData 

Data is incorrect.

eIllegalCall 

Illegal in a given context function call.

eFail 

Internal error, the real reason is unclear.

eNotOpen 

No input or output file.

eMissingValue 

Mandatory value was missing in the input.

eNullValue 

Data value is null.

Definition at line 53 of file exception.hpp.

Enumerator
eGet 
eWrite 
eUnknownMember 

Definition at line 86 of file exception.hpp.

Enumerator
eFail 

Definition at line 104 of file exception.hpp.

Error codes.

Enumerator
eMinLength 
eMaxLength 
eLength 
ePattern 
eInclusiveMinimum 
eExclusiveMinimum 
eInclusiveMaximum 
eExclusiveMaximum 
eMultipleOf 
eMinItems 
eMaxItems 
eUniqueItems 

Definition at line 148 of file exception.hpp.

Fail flags.

Enumerator
fNoError 

No error.

eNoError 
fWriteError 

An unknown error when writing into output file.

eWriteError 
fOverflow 

Internal buffer overflow.

eOverflow 
fInvalidData 

Output data is incorrect.

eInvalidData 
fIllegalCall 

Illegal in a given context function call.

eIllegalCall 
fFail 

Internal error, the real reason is unclear.

eFail 
fNotOpen 

No output file.

eNotOpen 
fNotImplemented 

Method is not implemented.

eNotImplemented 
fUnassigned 

Mandatory object member is unassigned Normally this results in throwing CUnassignedMember exception.

eUnassigned 

Definition at line 309 of file objostr.hpp.

Fail flags.

Enumerator
fNoError 

No error.

eNoError 
fEOF 

End of file in the middle of reading an object.

eEOF 
fReadError 

An unknown error when reading the input file.

eReadError 
fFormatError 

Input file formatting does not conform with specification.

eFormatError 
fOverflow 

Data read is beyond the allowed limits.

eOverflow 
fInvalidData 

Input data is incorrect (e.g. invalid enum)

eInvalidData 
fIllegalCall 

Illegal in a given context function call.

eIllegalCall 
fFail 

Internal error, the real reason is unclear.

eFail 
fNotOpen 

No input file.

eNotOpen 
fNotImplemented 

Method is not implemented.

eNotImplemented 
fMissingValue 

Mandatory value was missing in the input.

This is the variant of fFormatError. Normally stream throws an exception, but client can request not to throw one; in this case this flag is set instead.

eMissingValue 
fUnknownValue 

Unknown value was present in the input.

This is the variant of fFormatError. Normally stream throws an exception, but client can request not to throw one; in this case this flag is set instead.

eUnknownValue 
fNullValue 

Input value is 'null'.

eNullValue 

Definition at line 366 of file objistr.hpp.

template<typename TRoot >
enum CObjectIStreamIterator< TRoot >::CData::EFilter
Enumerator
eNone 
eOneSeq 
eOneRandom 
eAllSeq 
eAllRandom 
eOneChoice 
eAllChoice 
eOneContainer 
eAllContainer 

Definition at line 530 of file streamiter.hpp.

Enumerator
fFlagNone 
eFlagNone 
fFlagAllowNonAsciiChars 
eFlagAllowNonAsciiChars 
fFlagNoAutoFlush 

Definition at line 583 of file objostr.hpp.

Enumerator
fFlagNone 
eFlagNone 
fFlagAllowNonAsciiChars 
eFlagAllowNonAsciiChars 
fFlagEnforcedStdXml 
eFlagEnforcedStdXml 

Definition at line 829 of file objistr.hpp.

Enumerator
eFrameOther 
eFrameNamed 
eFrameArray 
eFrameArrayElement 
eFrameClass 
eFrameClassMember 
eFrameChoice 
eFrameChoiceVariant 

Definition at line 63 of file objstack.hpp.

Enumerator
eHook_None 
eHook_Read 
eHook_Write 
eHook_Skip 
eHook_Copy 

Definition at line 367 of file objhook.hpp.

Enumerator
eHook_Null 
eHook_Object 
eHook_Member 
eHook_Variant 
eHook_Element 

Definition at line 374 of file objhook.hpp.

Enumerator
eNoFileHeader 

Definition at line 95 of file objcopy.hpp.

Enumerator
eNoFileHeader 

Definition at line 573 of file objistr.hpp.

Enumerator
eNonCObject 

Definition at line 428 of file objectinfo.hpp.

Enumerator
eNullPointer 
eObjectPointer 
eThisPointer 
eOtherPointer 

Definition at line 767 of file objistr.hpp.

Enumerator
eDecimal 
eDecimalEncoding 
eDecimal_NR1 
eDecimal_NR2 
eDecimal_NR3 
ePositiveInfinity 
eNegativeInfinity 
eNotANumber 
eNegativeZero 

Definition at line 134 of file objstrasnb.hpp.

formatting of values of type 'real' ('double')

Enumerator
eRealFixedFormat 

use 'f' formatting type

eRealScientificFormat 

use 'g' formatting type

Definition at line 248 of file objostrxml.hpp.

Enumerator
eReadAsNormal 
eReadAsDefault 
eReadAsNil 
eReadAsBigInt 

Definition at line 1072 of file objistr.hpp.

Enumerator
eWriteAsNormal 
eWriteAsDefault 
eWriteAsNil 
eWriteAsBigInt 

Definition at line 754 of file objostr.hpp.

Enumerator
eContainterTagByte 
eIndefiniteLengthByte 
eEndOfContentsByte 
eZeroLengthByte 

Definition at line 126 of file objstrasnb.hpp.

Enumerator
eElementBegin 
eElementEnd 
eNoMoreElements 
eFinished 
eError 

Definition at line 198 of file objectio.hpp.

Enumerator
eTagOpen 
eTagClose 
eTagSelfClosed 
eAttlistTag 

Definition at line 416 of file objostrxml.hpp.

Enumerator
eUniversal 
eApplication 
eContextSpecific 
ePrivate 
eTagClassMask 

Definition at line 68 of file objstrasnb.hpp.

Enumerator
ePrimitive 
eConstructed 
eTagConstructedMask 

Definition at line 76 of file objstrasnb.hpp.

Enumerator
eTagOutside 
eTagInsideOpening 
eTagInsideClosing 
eTagSelfClosed 

Definition at line 287 of file objistrxml.hpp.

Enumerator
eExplicit 
eImplicit 
eAutomatic 

Definition at line 62 of file objstrasnb.hpp.

Enumerator
eNone 
eBoolean 
eInteger 
eBitString 
eOctetString 
eNull 
eObjectIdentifier 
eObjectDescriptor 
eExternal 
eReal 
eEnumerated 
eUTF8String 
eSequence 
eSequenceOf 
eSet 
eSetOf 
eNumericString 
ePrintableString 
eTeletextString 
eT61String 
eVideotextString 
eIA5String 
eUTCTime 
eGeneralizedTime 
eGraphicString 
eVisibleString 
eISO646String 
eGeneralString 
eMemberReference 
eObjectReference 
eLongTag 
eStringStore 
eTagValueMask 

Definition at line 82 of file objstrasnb.hpp.

Function Documentation

template<typename TRoot >
CObjectIStreamIterator< TRoot > & CObjectIStreamIterator< TRoot >::begin ( void  )

Definition at line 1080 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild > & CObjectIStreamIterator< TRoot, TChild >::begin ( void  )

Definition at line 1138 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot > & CObjectIStreamAsyncIterator< TRoot >::begin ( void  )

Definition at line 1371 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild > & CObjectIStreamAsyncIterator< TRoot, TChild >::begin ( void  )

Definition at line 1653 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CData::CData ( CObjectIStream istr,
EOwnership  deleteInStream,
const CParams params,
TTypeInfo  tinfo 
)
template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CData::CData ( CObjectIStream istr,
EOwnership  deleteInStream,
FParserFunction  parser,
const CParams params 
)

Definition at line 1420 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator ( CObjectIStream istr,
EOwnership  deleteInStream = eNoOwnership,
const CParams params = CParams() 
)

Definition at line 1287 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator ( void  )

CObjectIStreamAsyncIterator<TRoot> implementation.

Definition at line 1281 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator ( const CObjectIStreamAsyncIterator< TRoot > &  v)

Definition at line 1305 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CObjectIStreamAsyncIterator ( CObjectIStream istr,
EOwnership  deleteInStream,
FParserFunction  parser,
const CParams params 
)
protected

Definition at line 1296 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator ( CObjectIStream istr,
EOwnership  deleteInStream = eNoOwnership,
const CParams params = CParams() 
)

Definition at line 1617 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator ( void  )

CObjectIStreamAsyncIterator<TRoot,TChild> implementation.

Definition at line 1611 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild >::CObjectIStreamAsyncIterator ( const CObjectIStreamAsyncIterator< TRoot, TChild > &  v)

Definition at line 1626 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CObjectIStreamIterator ( CObjectIStream istr,
EOwnership  deleteInStream = eNoOwnership,
const CParams params = CParams() 
)

Definition at line 674 of file streamiter.hpp.

References eNone.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CObjectIStreamIterator ( void  )

CObjectIStreamIterator<TRoot> implementation.

Definition at line 662 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CObjectIStreamIterator ( const CObjectIStreamIterator< TRoot > &  v)

Definition at line 687 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CObjectIStreamIterator ( CObjectIStream istr,
const CParams params,
EOwnership  deleteInStream 
)
protected

Definition at line 667 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator ( CObjectIStream istr,
EOwnership  deleteInStream = eNoOwnership,
const CParams params = CParams() 
)

Definition at line 1100 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator ( void  )

CObjectIStreamIterator<TRoot, TChild> implementation.

Definition at line 1095 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild >::CObjectIStreamIterator ( const CObjectIStreamIterator< TRoot, TChild > &  v)

Definition at line 1113 of file streamiter.hpp.

CObjectStreamCopier::CObjectStreamCopier ( CObjectIStream in,
CObjectOStream out 
)

Constructor.

Parameters
inInput stream reader
outOutput stream writer

Definition at line 55 of file objcopy.cpp.

template<class C >
pair<TConstObjectPtr, TTypeInfo> ConstObjectInfo ( const C obj)
inline

Definition at line 770 of file objectinfo.hpp.

Referenced by operator<<(), and CGBSeqFormatter::x_WriteGBSeq().

template<class C >
pair<TConstObjectPtr, TTypeInfo> ConstRefChoiceInfo ( const CRef< C > &  obj)
inline

Definition at line 791 of file objectinfo.hpp.

void CObjectStreamCopier::Copy ( const CObjectTypeInfo type)
void CObjectStreamCopier::Copy ( TTypeInfo  type,
ENoFileHeader  noFileHeader 
)

Copy data when the input file header is already read.

Parameters
typeType information
noFileHeaderOmit file header in the input stream

Definition at line 91 of file objcopy.cpp.

References BEGIN_OBJECT_2FRAMES2, CObjectStreamCopier::CopyObject(), END_OBJECT_2FRAMES, CObjectIStream::EndOfRead(), CObjectOStream::EndOfWrite(), CObjectStreamCopier::In(), CObjectStreamCopier::Out(), and CObjectOStream::WriteFileHeader().

void CObjectStreamCopier::CopyAlias ( const CAliasTypeInfo aliasType)
void CObjectStreamCopier::CopyAnyContentObject ( void  )
void CObjectStreamCopier::CopyByteBlock ( void  )
void CObjectStreamCopier::CopyChoice ( const CChoiceTypeInfo choiceType)
void CObjectStreamCopier::CopyClassRandom ( const CClassTypeInfo classType)
void CObjectStreamCopier::CopyClassSequential ( const CClassTypeInfo classType)
void CObjectStreamCopier::CopyContainer ( const CContainerTypeInfo containerType)
void CObjectStreamCopier::CopyExternalObject ( TTypeInfo  type)
void CObjectStreamCopier::CopyNamedType ( TTypeInfo  namedTypeInfo,
TTypeInfo  objectType 
)
bool CObjectStreamCopier::CopyNullPointer ( void  )
void CObjectStreamCopier::CopyObject ( TTypeInfo  type)
void CObjectStreamCopier::CopyPointer ( TTypeInfo  declaredType)
void CObjectStreamCopier::CopyString ( EStringType  type = eStringTypeVisible)
void CObjectStreamCopier::CopyStringStore ( void  )
void CObjectStreamCopier::DuplicatedMember ( const CMemberInfo memberInfo)
template<typename TRoot >
CObjectIStreamIterator< TRoot > CObjectIStreamIterator< TRoot >::end ( void  )

Definition at line 1086 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild > CObjectIStreamIterator< TRoot, TChild >::end ( void  )

Definition at line 1144 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot > CObjectIStreamAsyncIterator< TRoot >::end ( void  )

Definition at line 1377 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild > CObjectIStreamAsyncIterator< TRoot, TChild >::end ( void  )

Definition at line 1659 of file streamiter.hpp.

void CObjectOStream::EnforceWritingDefaultValues ( bool  enforce = true)
inline

Definition at line 833 of file objostr.hpp.

References CObjectOStream::m_EnforceWritingDefaults.

void CObjectStreamCopier::ExpectedMember ( const CMemberInfo memberInfo)
void FixVisibleChar ( char &  c,
EFixNonPrint  fix_method,
const CObjectStack io,
const string str 
)
inline
template<typename TRoot >
const CObjectIStream & CObjectIStreamIterator< TRoot >::GetObjectIStream ( void  ) const

Definition at line 1062 of file streamiter.hpp.

bool GoodVisibleChar ( char  c)
inline
CObjectIStream& CObjectStreamCopier::In ( void  ) const
template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::IsValid ( void  ) const

Definition at line 1056 of file streamiter.hpp.

template<typename TRoot >
bool CObjectIStreamAsyncIterator< TRoot >::IsValid ( void  ) const

Definition at line 1353 of file streamiter.hpp.

bool CObjectOStream::IsWritingDefaultValuesEnforced ( ) const
inline
template<class C >
pair<TObjectPtr, TTypeInfo> ObjectInfo ( C obj)
inline

Definition at line 762 of file objectinfo.hpp.

Referenced by CSearchHelper::CreateSearchSettings(), CBiosampleChkApp::GetBiosampleDescriptorsFromSeqSubmit(), CStructuredCommentPanel::GetStructuredCommentRules(), CMultiReader::LoadDescriptors(), CMultiReader::LoadTemplate(), main(), CSuspectProductRulesEditor::OnFileAdd(), CSuspectProductRulesEditor::OnFileLoad(), CSuspectProductRulesEditor::OnShowDiffs(), operator>>(), CAsnvalApp::ProcessBioseq(), CAsnvalApp::ProcessBioseqset(), CAsnvalApp::ProcessCatenated(), subfuse::CSubmissionCollector::ProcessFile(), CAsnvalApp::ProcessSeqAnnot(), CAsnvalApp::ProcessSeqEntry(), CTLSHandler::ProcessSeqSubmit(), CAsnvalApp::ProcessSeqSubmit(), CBiosampleChkApp::ProcessSeqSubmit(), CTLSHandler::ReadBioseqSet(), CBiosampleChkApp::ReadBioseqSet(), CAsnvalApp::ReadBioSource(), CSearchHelper::ReadCompleteSearch(), CSearchHelper::ReadModFiles(), CAsnvalApp::ReadPubdesc(), CSearchHelper::ReadSearchRequest(), CTLSHandler::ReadSeqEntry(), CAsnvalApp::ReadSeqEntry(), CBiosampleChkApp::ReadSeqEntry(), CAsnvalApp::ReadSeqFeat(), CReadresult::Run(), CCatenatedPresenter::Run(), COMSSAMerge::Run(), s_InitializeOrganelleProductRules(), s_InitializeProductRules(), s_InitializeStructuredCommentRules(), CSearchHelper::SaveOneFile(), pub_report::CSkipPubUnpublishedHook::SkipObject(), pub_report::CSkipPubJournalHook::SkipObject(), CLDS2_Seq_id_Hook::SkipObject(), CLDS2_AnnotType_Hook::SkipObject(), CLDS2_AnnotDesc_Hook::SkipObject(), CMacroFunction_ApplyPublication::TheFunction(), CRemoteBlast::x_GetSearchResultsHTTP(), CAgpconvertApplication::x_LoadTemplate(), CProteinMatchApp::x_ReadAlignmentFile(), CProteinMatchApp::x_ReadAnnotFile(), CDiscRepApp::x_ReadFile(), CProteinMatchApp::x_TryReadBioseqSet(), CProteinMatchApp::x_TryReadSeqEntry(), CMultiReader::xReadASN1(), CAnnotWriterApp::xTryProcessBioseq(), CAnnotWriterApp::xTryProcessBioseqSet(), CAnnotWriterApp::xTryProcessSeqAlign(), CAnnotWriterApp::xTryProcessSeqAlignSet(), CAnnotWriterApp::xTryProcessSeqAnnot(), CAnnotWriterApp::xTryProcessSeqEntry(), CAnnotWriterApp::xTryProcessSeqSubmit(), and CSeqSubSplitter::xTryReadInputFile().

template<class C >
pair<TConstObjectPtr, TTypeInfo> ObjectInfo ( const C obj)
inline

Definition at line 777 of file objectinfo.hpp.

template<class C >
TTypeInfo ObjectType ( const C )
inline

Definition at line 755 of file objectinfo.hpp.

template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::operator!= ( const CObjectIStreamIterator< TRoot > &  v) const

Definition at line 1050 of file streamiter.hpp.

template<typename TRoot >
bool CObjectIStreamAsyncIterator< TRoot >::operator!= ( const CObjectIStreamAsyncIterator< TRoot > &  v) const

Definition at line 1347 of file streamiter.hpp.

template<typename TRoot >
TRoot & CObjectIStreamIterator< TRoot >::operator* ( void  )

Definition at line 1068 of file streamiter.hpp.

template<typename TRoot >
TRoot & CObjectIStreamAsyncIterator< TRoot >::operator* ( void  )

Definition at line 1359 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot > & CObjectIStreamIterator< TRoot >::operator++ ( void  )

Definition at line 1022 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild > & CObjectIStreamIterator< TRoot, TChild >::operator++ ( void  )

Definition at line 1131 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot > & CObjectIStreamAsyncIterator< TRoot >::operator++ ( void  )

Definition at line 1325 of file streamiter.hpp.

References CObjectIStreamAsyncIterator<>::IsValid().

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild > & CObjectIStreamAsyncIterator< TRoot, TChild >::operator++ ( void  )

Definition at line 1646 of file streamiter.hpp.

template<typename TRoot >
TRoot * CObjectIStreamIterator< TRoot >::operator-> ( void  )

Definition at line 1074 of file streamiter.hpp.

References CObjectIStreamIterator<>::IsValid().

template<typename TRoot >
TRoot * CObjectIStreamAsyncIterator< TRoot >::operator-> ( void  )

Definition at line 1365 of file streamiter.hpp.

References CObjectIStreamAsyncIterator<>::IsValid().

template<typename T >
void operator<< ( COStreamContainer o,
const T element 
)
inline

Definition at line 261 of file objectio.hpp.

References ConstObjectInfo(), and COStreamContainer::WriteElement().

template<typename TRoot >
CObjectIStreamIterator< TRoot > & CObjectIStreamIterator< TRoot >::operator= ( const CObjectIStreamIterator< TRoot > &  v)

Definition at line 693 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild > & CObjectIStreamIterator< TRoot, TChild >::operator= ( const CObjectIStreamIterator< TRoot, TChild > &  v)

Definition at line 1119 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot > & CObjectIStreamAsyncIterator< TRoot >::operator= ( const CObjectIStreamAsyncIterator< TRoot > &  v)

Definition at line 1313 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild > & CObjectIStreamAsyncIterator< TRoot, TChild >::operator= ( const CObjectIStreamAsyncIterator< TRoot, TChild > &  v)

Definition at line 1634 of file streamiter.hpp.

template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::operator== ( const CObjectIStreamIterator< TRoot > &  v) const

Definition at line 1043 of file streamiter.hpp.

template<typename TRoot >
bool CObjectIStreamAsyncIterator< TRoot >::operator== ( const CObjectIStreamAsyncIterator< TRoot > &  v) const

Definition at line 1340 of file streamiter.hpp.

template<typename T >
void operator>> ( CIStreamContainerIterator i,
T element 
)
inline

Definition at line 217 of file objectio.hpp.

References ObjectInfo(), and CIStreamContainerIterator::ReadElement().

CObjectOStream& CObjectStreamCopier::Out ( void  ) const
template<typename TRoot , typename TObject >
void CIStreamObjectHook< TRoot, TObject >::Process ( const TObject &  obj)
inlineoverridevirtual

This method will be called when the object of the requested class is read.

Implements CSerial_FilterObjectsHook< TObject >.

Definition at line 1852 of file streamiter.hpp.

template<class C >
pair<TObjectPtr, TTypeInfo> RefChoiceInfo ( CRef< C > &  obj)
inline

Definition at line 784 of file objectinfo.hpp.

char ReplaceVisibleChar ( char  c,
EFixNonPrint  fix_method,
const CObjectStack io,
const string str 
)
void CObjectStreamCopier::ResetLocalHooks ( void  )
template<typename TRoot , typename TObject >
void Serial_FilterObjects ( CObjectIStream in,
CSerial_FilterObjectsHook< TObject > *  hook,
bool  readall = true 
)

Scan input stream, finding objects of requested type (TObject) only.

Definition at line 633 of file objhook.hpp.

References Serial_FilterSkip().

bool Serial_FilterSkip ( CObjectIStream in,
const CObjectTypeInfo ctype 
)
template<typename TRoot , typename TObject >
void Serial_FilterStdObjects ( CObjectIStream in,
CSerial_FilterObjectsHook< TObject > *  hook,
bool  readall = true 
)

Scan input stream, finding objects that are not derived from CSerialObject.

Definition at line 646 of file objhook.hpp.

References Serial_FilterSkip().

template<typename TObj >
TObj::TmemberIndex Serial_GetAssignedMembers ( TObj &  obj)

Definition at line 614 of file objectiter.hpp.

References eTypeFamilyChoice, eTypeFamilyClass, i, kFirstMemberIndex, and kInvalidMember.

template<typename TObj >
void Serial_ResetMembers ( TObj &  obj,
typename TObj::TmemberIndex &  mi 
)
void CObjectStreamCopier::SetPathCopyMemberHook ( const string path,
CCopyClassMemberHook hook 
)
void CObjectStreamCopier::SetPathCopyObjectHook ( const string path,
CCopyObjectHook hook 
)
void CObjectStreamCopier::SetPathCopyVariantHook ( const string path,
CCopyChoiceVariantHook hook 
)
void CObjectStreamCopier::SetPathHooks ( CObjectStack stk,
bool  set 
)
template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::TObjectsQueue CObjectIStreamAsyncIterator< TRoot >::sx_ClearGarbageAndParse ( CRef< CByteSource bytesource,
ESerialDataFormat  format,
const CParams params,
TObjectsQueue &&  garbage 
)
staticprivate

Definition at line 1384 of file streamiter.hpp.

References CObjectIStream::Create(), dummy, eNoOwnership, and swap().

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild >::TObjectsQueue CObjectIStreamAsyncIterator< TRoot, TChild >::sx_ClearGarbageAndParse ( CRef< CByteSource bytesource,
ESerialDataFormat  format,
const CParams params,
TObjectsQueue &&  garbage 
)
staticprivate

Definition at line 1665 of file streamiter.hpp.

References CObjectIStream::Create(), dummy, eNoOwnership, and swap().

void CObjectStreamCopier::ThrowError1 ( const CDiagCompileInfo diag_info,
TFailFlags  fail,
const char *  message 
)
void CObjectStreamCopier::ThrowError1 ( const CDiagCompileInfo diag_info,
TFailFlags  fail,
const string message 
)
template<typename TRoot >
void CObjectIStreamIterator< TRoot >::CData::x_AcceptData ( CObjectIStream in,
const CObjectInfo type 
)

Definition at line 805 of file streamiter.hpp.

References eNone, NCBI_THROW, res, and CObjectIStream::SetDiscardCurrObject().

template<typename TRoot >
void CObjectIStreamIterator< TRoot >::CData::x_BeginRead ( void  )

Definition at line 755 of file streamiter.hpp.

template<typename TRoot >
void CObjectIStreamIterator< TRoot >::CData::x_EndRead ( void  )

Definition at line 764 of file streamiter.hpp.

template<typename TRoot >
CRef< CByteSource > CObjectIStreamAsyncIterator< TRoot >::CData::x_GetNextData ( void  )

Definition at line 1534 of file streamiter.hpp.

References CStreamDelayBufferGuard::EndDelayBuffer().

template<typename TRoot >
void CObjectIStreamIterator< TRoot >::CData::x_Next ( void  )

Definition at line 851 of file streamiter.hpp.

template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::CData::x_NextChoiceWithFilter ( const CObjectInfo objinfo)
template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::CData::x_NextContainerWithFilter ( const CObjectInfo objinfo)
template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::CData::x_NextNoFilter ( const CObjectInfo objinfo)
template<typename TRoot >
bool CObjectIStreamIterator< TRoot >::CData::x_NextSeqWithFilter ( const CObjectInfo objinfo)
template<typename TRoot >
void CObjectIStreamIterator< TRoot >::x_ReaderThread ( void  )
protected

Definition at line 772 of file streamiter.hpp.

References Serial_FilterSkip().

template<typename TRoot , typename TChild >
void CObjectIStreamIterator< TRoot, TChild >::x_ReaderThread ( void  )
protected

Definition at line 788 of file streamiter.hpp.

References Serial_FilterSkip().

template<typename TRoot >
void CObjectIStreamAsyncIterator< TRoot >::CData::x_ReaderThread ( void  )

Definition at line 1565 of file streamiter.hpp.

References CStreamDelayBufferGuard::EndDelayBuffer().

template<typename TRoot >
void CObjectIStreamAsyncIterator< TRoot >::CData::x_UpdateFuturesQueue ( )

Definition at line 1490 of file streamiter.hpp.

References dummy, CRef< C, Locker >::IsNull(), and swap().

template<typename TRoot >
void CObjectIStreamAsyncIterator< TRoot >::CData::x_UpdateObjectsQueue ( )

Definition at line 1471 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::CData::~CData ( void  )

Definition at line 742 of file streamiter.hpp.

References eTakeOwnership.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::CData::~CData ( void  )

Definition at line 1442 of file streamiter.hpp.

References eTakeOwnership.

template<typename TRoot >
CObjectIStreamAsyncIterator< TRoot >::~CObjectIStreamAsyncIterator ( )

Definition at line 1320 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamAsyncIterator< TRoot, TChild >::~CObjectIStreamAsyncIterator ( )

Definition at line 1641 of file streamiter.hpp.

template<typename TRoot >
CObjectIStreamIterator< TRoot >::~CObjectIStreamIterator ( )

Definition at line 699 of file streamiter.hpp.

template<typename TRoot , typename TChild >
CObjectIStreamIterator< TRoot, TChild >::~CObjectIStreamIterator ( )

Definition at line 1126 of file streamiter.hpp.

CObjectStreamCopier::~CObjectStreamCopier ( void  )

Destructor.

Definition at line 61 of file objcopy.cpp.

References CObjectStreamCopier::ResetLocalHooks().

Variable Documentation

CLocalHookSet<CCopyChoiceVariantHook> CObjectStreamCopier::m_ChoiceVariantHookKey
CLocalHookSet<CCopyClassMemberHook> CObjectStreamCopier::m_ClassMemberHookKey
CObjectIStream& CObjectStreamCopier::m_In
private

Definition at line 150 of file objcopy.hpp.

CLocalHookSet<CCopyObjectHook> CObjectStreamCopier::m_ObjectHookKey
CObjectOStream& CObjectStreamCopier::m_Out
private

Definition at line 151 of file objcopy.hpp.

CStreamPathHook<CMemberInfo*, CCopyClassMemberHook*> CObjectStreamCopier::m_PathCopyMemberHooks
private
CStreamObjectPathHook<CCopyObjectHook*> CObjectStreamCopier::m_PathCopyObjectHooks
private
CStreamPathHook<CVariantInfo*,CCopyChoiceVariantHook*> CObjectStreamCopier::m_PathCopyVariantHooks
private
Modified on Sun Nov 19 16:43:05 2017 by modify_doxy.py rev. 546573