Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef OBJTOOLS_FORMAT_ITEMS___ITEM_BASE_ITEM__HPP
2 #define OBJTOOLS_FORMAT_ITEMS___ITEM_BASE_ITEM__HPP
55 bool IsSetObject(
void)
const;
62 bool Skip(
void)
const;
64 bool IsExternal(
void)
const;
77 void x_SetExternal(
void);
CBioseqContext * m_Context
bool IsExternal(void) const
CConstRef< CSerialObject > m_Object
bool IsSetObject(void) const
CBioseqContext * GetContext(void)
void x_SetObject(const CSerialObject &obj)
CFlatItem(CBioseqContext *ctx=0)
const CSerialObject * GetObject(void) const
void x_SetContext(CBioseqContext &ctx)
virtual void Format(IFormatter &formatter, IFlatTextOStream &text_os) const =0
virtual void x_GatherInfo(CBioseqContext &)
Base class for all serializable objects.
virtual bool Skip(void) const =0
virtual const CSerialObject * GetObject(void) const =0
Include a standard set of the NCBI C++ Toolkit most basic headers.
void Reset(void)
Reset reference object.
bool NotEmpty(void) const THROWS_NONE
Check if CConstRef is not empty – pointing to an object and has a non-null value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_FORMAT_EXPORT
static wxString GetContext(const wxString &str, int pos)