61 for(
const auto& e: annot) {
87 int main(
int argc,
char** argv)
Copy hook for data member of a containing object (eg, SEQUENCE)
virtual void CopyClassMember(CObjectStreamCopier &copier, const CObjectTypeInfoMI &passed_info)
Reading (iterating through) elements of containers (SET OF, SEQUENCE OF).
Writing containers (SET OF, SEQUENCE OF).
std::ofstream out("events_result.xml")
main entry point for tests
size_t TMemberIndex
Type used for indexing class members and choice variants.
#define MSerial_AsnText
I/O stream manipulators –.
@ eSerial_AsnText
ASN.1 text.
TMemberIndex GetMemberIndex(void) const
Get index of the member in the class.
const CMemberInfo * GetMemberInfo(void) const
void ReadObject(const CObjectInfo &object)
Read child object.
CObjectTypeInfo GetMemberType(void) const
Get data type information.
void SkipObject(const CObjectTypeInfo &objectType)
Skip child object.
CMemberIterator FindMember(const string &memberName) const
Find class member by its name.
static CObjectOStream * Open(ESerialDataFormat format, CNcbiOstream &outStream, bool deleteOutStream)
Create serial object writer and attach it to an output stream.
void WriteObject(const CConstObjectInfo &object)
CObjectTypeInfo GetClassType(void) const
Get containing class type.
TTypeInfo GetTypeInfo(void) const
static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)
Create serial object reader and attach it to an input stream.
CObjectIStream & In(void) const
void DefaultCopy(CObjectStreamCopier &copier, const CObjectTypeInfo &type)
CObjectOStream & Out(void) const
void SetLocalCopyHook(CObjectStreamCopier &stream, CCopyClassMemberHook *hook) const
void Copy(const CObjectTypeInfo &type)
Copy data.
list< CRef< CSeq_annot > > TAnnot
int main(int argc, char **argv)
USING_SCOPE(ncbi::objects)
std::istream & in(std::istream &in_, double &x_)