NCBI C++ ToolKit
|
Search Toolkit Book for CChoiceTypeInfoFunctions
Static Public Member Functions | |
static void | ReadChoiceSimple (CObjectIStream &in, TTypeInfo objectType, TObjectPtr objectPtr) |
static void | ReadChoiceDefault (CObjectIStream &in, TTypeInfo objectType, TObjectPtr objectPtr) |
static void | WriteChoiceDefault (CObjectOStream &out, TTypeInfo objectType, TConstObjectPtr objectPtr) |
static void | SkipChoiceSimple (CObjectIStream &in, TTypeInfo objectType) |
static void | SkipChoiceDefault (CObjectIStream &in, TTypeInfo objectType) |
static void | CopyChoiceDefault (CObjectStreamCopier &copier, TTypeInfo objectType) |
static void | AssignDefault (TTypeInfo typeInfo, TObjectPtr dst, TConstObjectPtr src, ESerialRecursionMode how) |
static void | AssignSimple (TTypeInfo typeInfo, TObjectPtr dst, TConstObjectPtr src, ESerialRecursionMode how) |
Definition at line 43 of file choice.cpp.
|
static |
Definition at line 282 of file choice.cpp.
References _ASSERT, CTypeInfo::Assign(), CChoiceTypeInfo::CallUserOp_Assign(), CItemsInfo::FirstIndex(), CChoiceTypeInfo::GetData(), CItemInfo::GetId(), CChoiceTypeInfo::GetIndex(), CItemsInfo::GetItemInfo(), GetMember(), CItemInfo::GetTypeInfo(), CChoiceTypeInfo::GetVariantInfo(), CChoiceTypeInfo::GetVariants(), info, CMemberId::IsAttlist(), kEmptyChoice, CChoiceTypeInfo::ResetIndex(), and CChoiceTypeInfo::SetIndex().
|
static |
Definition at line 315 of file choice.cpp.
References CTypeInfo::Assign(), CChoiceTypeInfo::GetIndex(), CItemInfo::GetTypeInfo(), CChoiceTypeInfo::GetVariantInfo(), CVariantInfo::GetVariantPtr(), kEmptyChoice, CChoiceTypeInfo::ResetIndex(), and CChoiceTypeInfo::SetIndex().
|
static |
Definition at line 466 of file choice.cpp.
References CObjectStreamCopier::CopyChoice().
|
static |
Definition at line 371 of file choice.cpp.
References BEGIN_OBJECT_FRAME_OF, BEGIN_OBJECT_FRAME_OF3, END_OBJECT_FRAME_OF, CItemInfo::GetId(), CItemsInfo::GetItemInfo(), CChoiceTypeInfo::GetVariantInfo(), CChoiceTypeInfo::GetVariants(), in(), CMemberId::IsAttlist(), kInvalidMember, CChoiceTypeInfo::MayBeEmpty(), CMemberInfo::ReadMember(), CVariantInfo::ReadVariant(), and CTypeConverter< T >::SafeCast().
|
static |
Definition at line 419 of file choice.cpp.
References in(), and CTypeConverter< T >::SafeCast().
|
static |
Definition at line 472 of file choice.cpp.
References BEGIN_OBJECT_FRAME_OF, BEGIN_OBJECT_FRAME_OF2, END_OBJECT_FRAME_OF, CItemInfo::GetId(), CItemsInfo::GetItemInfo(), CChoiceTypeInfo::GetVariantInfo(), CChoiceTypeInfo::GetVariants(), in(), CMemberId::IsAttlist(), kInvalidMember, CChoiceTypeInfo::MayBeEmpty(), CTypeConverter< T >::SafeCast(), CMemberInfo::SkipMember(), and CVariantInfo::SkipVariant().
|
static |
Definition at line 521 of file choice.cpp.
References in(), and CTypeConverter< T >::SafeCast().
|
static |
Definition at line 428 of file choice.cpp.
References BEGIN_OBJECT_FRAME_OF2, BEGIN_OBJECT_FRAME_OF3, END_OBJECT_FRAME_OF, CItemsInfo::FirstIndex(), CItemInfo::GetId(), CChoiceTypeInfo::GetIndex(), CItemsInfo::GetItemInfo(), CChoiceTypeInfo::GetVariantInfo(), CChoiceTypeInfo::GetVariants(), CMemberId::IsAttlist(), kInvalidMember, CChoiceTypeInfo::MayBeEmpty(), out(), CTypeConverter< T >::SafeCast(), CMemberInfo::WriteMember(), and CVariantInfo::WriteVariant().