* GetFrameTypeName(
void)
const;
92 stringGetFrameInfo(
void)
const;
93 stringGetFrameName(
void)
const;
113 #define ThrowError(flag, mess) \ 114 ThrowError1(DIAG_COMPILE_INFO,flag,mess) 133 voidPopErrorFrame(
void);
136 boolIsNsQualified(
void);
138 boolIsCompressed(
void)
const;
140 #if defined(NCBI_SERIAL_IO_TRACE) 141 voidTracePushFrame(
bool push)
const;
147 voidClearStack(
void);
149 stringGetStackTraceASN(
void)
const;
160 boolIsKnownElement(
const CTempString& name)
const;
167 virtual voidUnendedFrame(
void);
168 const string& GetStackPath(
void)
const;
173m_PathHooks.insert(h);
175 voidResetPathHooks(
void);
178 virtual voidResetState(
void);
182 TFrame& PushFrameLong(
void);
183 voidx_PushStackPath(
void);
184 voidx_PopStackPath(
void);
197 #define BEGIN_OBJECT_FRAME_OFx(Stream, Args) \ 198 (Stream).PushFrame Args; \ 201 #define END_OBJECT_FRAME_OF(Stream) \ 202 } catch (CSerialException& s_expt) { \ 203 std::string msg((Stream).TopFrame().GetFrameName()); \ 204 (Stream).PopFrame(); \ 205 s_expt.AddFrameInfo(msg); \ 207 } catch ( CEofException& e_expt ) { \ 208 (Stream).HandleEOF(e_expt); \ 209 } catch (CException& expt) { \ 210 std::string msg((Stream).TopFrame().GetFrameInfo()); \ 211 (Stream).PopFrame(); \ 212 NCBI_RETHROW_SAME(expt,msg); \ 217 #define BEGIN_OBJECT_FRAME_OF(Stream, Type) \ 218 BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type)) 219 #define BEGIN_OBJECT_FRAME_OF2(Stream, Type, Arg) \ 220 BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg)) 221 #define BEGIN_OBJECT_FRAME_OF3(Stream, Type, Arg1, Arg2) \ 222 BEGIN_OBJECT_FRAME_OFx(Stream, (CObjectStackFrame::Type, Arg1, Arg2)) 224 #define BEGIN_OBJECT_FRAME(Type) BEGIN_OBJECT_FRAME_OF(*this, Type) 225 #define BEGIN_OBJECT_FRAME2(Type, Arg) BEGIN_OBJECT_FRAME_OF2(*this, Type, Arg) 226 #define BEGIN_OBJECT_FRAME3(Type, Arg1, Arg2) BEGIN_OBJECT_FRAME_OF3(*this, Type, Arg1, Arg2) 227 #define END_OBJECT_FRAME() END_OBJECT_FRAME_OF(*this) 229 #define BEGIN_OBJECT_2FRAMES_OFx(Stream, Args) \ 230 (Stream).In().PushFrame Args; \ 231 (Stream).Out().PushFrame Args; \ 234 #define END_OBJECT_2FRAMES_OF(Stream) \ 235 } catch (CException& expt) { \ 236 std::string msg((Stream).In().TopFrame().GetFrameInfo()); \ 237 (Stream).Out().PopFrame(); \ 238 (Stream).Out().SetFailFlagsNoError(CObjectOStream::fInvalidData); \ 239 (Stream).In().SetFailFlags(CObjectIStream::fFail); \ 240 (Stream).In().PopErrorFrame(); \ 241 NCBI_RETHROW_SAME(expt,msg); \ 243 (Stream).Out().PopFrame(); \ 244 (Stream).In().PopFrame() 247 #define BEGIN_OBJECT_2FRAMES_OF(Stream, Type) \ 248 BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type)) 249 #define BEGIN_OBJECT_2FRAMES_OF2(Stream, Type, Arg) \ 250 BEGIN_OBJECT_2FRAMES_OFx(Stream, (CObjectStackFrame::Type, Arg)) 251 #define BEGIN_OBJECT_2FRAMES(Type) BEGIN_OBJECT_2FRAMES_OF(*this, Type) 252 #define BEGIN_OBJECT_2FRAMES2(Type, Arg) BEGIN_OBJECT_2FRAMES_OF2(*this, Type, Arg) 253 #define END_OBJECT_2FRAMES() END_OBJECT_2FRAMES_OF(*this)CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...
Include a standard set of the NCBI C++ Toolkit most basic headers.
ENsQualifiedMode
Defines namespace qualification of XML tags.
const void * TConstObjectPtr
ENsQualifiedMode IsNsQualified(void) const
ENsQualifiedMode m_NsqMode
bool GetNotag(void) const
TFrame & PushFrame(EFrameType type, TTypeInfo typeInfo, TConstObjectPtr objectPtr=0)
bool HasTypeInfo(void) const
virtual string GetStackTrace(void) const =0
void SetNotag(bool set=true)
virtual void x_SetPathHooks(bool set)=0
TFrame & FetchFrameFromTop(size_t index)
void SetNsQualified(ENsQualifiedMode mode)
set< CPathHook * > m_PathHooks
bool GetNoEOC(void) const
const CMemberId * m_MemberId
bool HasTypeInfo(TTypeInfo type) const
size_t GetStackDepth(void) const
TConstObjectPtr GetObjectPtr(void) const
void SetNoEOC(bool set=true)
TFrame & PushFrame(EFrameType type)
const TFrame & TopFrame(void) const
TTypeInfo GetTypeInfo(void) const
TFrame & PushFrame(EFrameType type, const CMemberId &memberId)
void SetTopMemberId(const CMemberId &memberId)
bool StackIsEmpty(void) const
TConstObjectPtr m_ObjectPtr
const CMemberId & GetMemberId(void) const
void RegisterPathHook(CPathHook *h)
bool HasMemberId(void) const
void WatchPathHooks(bool set=true)
EFrameType GetFrameType(void) const
TFrame::EFrameType EFrameType
void SetMemberId(const CMemberId &memberid)
TTypeInfo GetRecentTypeInfo(void) const
const TFrame & FetchFrameFromTop(size_t index) const
const TFrame & FetchFrameFromBottom(size_t index) const
virtual string GetPosition(void) const =0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XSERIAL_EXPORT
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4