NCBI C++ ToolKit
|
Search Toolkit Book for CUser_object
#include <objects/general/User_object.hpp>
Classes | |
class | CRefGeneTrackingAccession |
class | CRefGeneTrackingException |
Private Types | |
typedef CUser_object_Base | Tparent |
Private Member Functions | |
CUser_object (const CUser_object &value) | |
Prohibit copy constructor and assignment operator. More... | |
CUser_object & | operator= (const CUser_object &value) |
bool | x_IsUnverifiedType (const string &val) const |
bool | x_IsUnverifiedType (const string &val, const CUser_field &field) const |
void | x_AddUnverifiedType (const string &val) |
void | x_RemoveUnverifiedType (const string &val) |
bool | x_IsUnreviewedType (const string &val) const |
bool | x_IsUnreviewedType (const string &val, const CUser_field &field) const |
void | x_AddUnreviewedType (const string &val) |
void | x_RemoveUnreviewedType (const string &val) |
void | x_SetRefGeneTrackingField (const string &field_name, const string &value) |
const string & | x_GetRefGeneTrackingField (const string &field_name) const |
Additional Inherited Members | |
Static Public Member Functions inherited from CSerialObject | |
static void | SetVerifyDataThread (ESerialVerifyData verify) |
static void | SetVerifyDataGlobal (ESerialVerifyData verify) |
static string | UnassignedString (void) |
static CStringUTF8 | UnassignedStringUTF8 (void) |
static char | UnassignedByte (void) |
Static Public Member Functions inherited from CObject | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
Static Public Member Functions inherited from CDebugDumpable | |
static void | EnableDebugDump (bool on) |
Static Public Attributes inherited from CSerialObject | |
static const char * | ms_UnassignedStr = "<*unassigned*>" |
static const char | ms_UnassignedByte = char(0xcd) |
Static Public Attributes inherited from CObject | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 50 of file User_object.hpp.
|
private |
Definition at line 52 of file User_object.hpp.
typedef vector<CConstRef<CRefGeneTrackingAccession> > CUser_object::TRefGeneTrackingAccessions |
Definition at line 334 of file User_object.hpp.
enums for implicit typing of user objects
general category
Enumerator | |
---|---|
eCategory_Unknown | |
eCategory_Experiment |
Definition at line 134 of file User_object.hpp.
sub-category experiment
Enumerator | |
---|---|
eExperiment_Unknown | |
eExperiment_Sage |
Definition at line 140 of file User_object.hpp.
enum controlling what to return for a label this mirrors a request inside of feature::GetLabel()
Enumerator | |
---|---|
eType | |
eContent | |
eBoth |
Definition at line 119 of file User_object.hpp.
Object Type.
Definition at line 161 of file User_object.hpp.
how to interpret the value in the AddField() conversion functions below.
Enumerator | |
---|---|
eParse_String | Add string even if all numbers. |
eParse_Number | Parse a real or integer number, otherwise string. |
Definition at line 60 of file User_object.hpp.
Definition at line 219 of file User_object.hpp.
|
inline |
CUser_object::~CUser_object | ( | void | ) |
destructor
Definition at line 62 of file User_object.cpp.
|
private |
Prohibit copy constructor and assignment operator.
CUser_object & CUser_object::AddField | ( | const string & | label, |
bool | value | ||
) |
Definition at line 269 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
const char * | value, | ||
EParseField | parse = eParse_String |
||
) |
Definition at line 211 of file User_object.cpp.
References AddField(), label, and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
const string & | value, | ||
EParseField | parse = eParse_String |
||
) |
add a data field to the user object that holds a given value
Definition at line 198 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
Referenced by CAutoSqlCustomField::AddDouble(), AddField(), CAutoSqlCustomField::AddInt(), CAutoSqlCustomField::AddIntArray(), CTableAnnotDataSource::AddSeqLoc(), CTableAnnotDataSource::AddSnpSeqLoc(), CAutoSqlCustomField::AddString(), CAutoSqlCustomField::AddUint(), AlignModelToSeqalign(), CConvertComment::ApplyToComment(), CSetGlobalRefGeneStatus::ApplyToCSeq_entry(), variation_ref::AttachAssertedSequence(), BOOST_AUTO_TEST_CASE(), CTableImportDataSource::ConvertToSeqAnnot(), CAnnotationASN1::CImplementationData::create_internal_feature(), CAnnotationASN1::CImplementationData::create_ModelEvidence_user_object(), CTableAnnotDataSource::CreateFeature(), CBlastFormatUtil::CreateSeqAnnotFromSeqAlignSet(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), CWigObjectLoader::Execute(), CTableImportDataSource::ExportTableParms(), CBedAnnotAssembler::FinalizeAnnot(), CVDBGraphSeqIterator::GetAnnot(), CLoadStructComments::LoadSingle(), MakeCompartment(), CCSraAlignIterator::MakeMatchAnnotIndicator(), CBam2Seq_graph::MakeSeq_annot(), CAnnotationASN1::CImplementationData::model2spliced_seq_align(), CStructuredCommentPanel::OnExport(), CTableXformPanel::OnSaveImportParmsClick(), CPhyTreeView::OnSomethingEdited(), CRepeatToFeat::operator()(), CFastaReader::ParseDefLine(), variation_ref::CVariationUtil::PrecursorToProt(), CMicroArrayReader::ReadSeqAnnot(), CDemoSeqQaApp::Run(), s_AddUserObjectToSeqAlign(), s_CreateSeqAlign(), s_ModifySeqAlnWithFilteredSeqIDs(), s_UpdateField(), s_UpdateSeqAlnWithFilteredSeqIDs(), CDockManager::SaveLayout(), CDockContainer::SaveLayout(), CPhyloSelectionSet::SaveToUserObject(), CTreeLabel::SaveToUserObject(), CPhyloSelectionSetMgr::SaveToUserObject(), CGBenchService::SendAppFinish(), CGBenchService::SendAppStart(), CSeqUtils::SetAnnotShown(), SetCategory(), CEditingActionDescGenomeProjectId::SetValue(), CEditingActionDescUserObject::SetValue(), CEditingActionDescStructCommDbName::SetValue(), CEditingActionDescStructCommFieldName::SetValue(), sWindowPosToUserObject(), sx_GetMatchAnnotIndicator(), sx_SetZoomLevel(), CMacroFunction_ParseToStructComm::TheFunction(), CBLASTParams::ToUserObject(), CNetBlastJobDescriptor::ToUserObject(), CDockContainerDescr::ToUserObject(), CComplexRelation::ToUserObject(), CRelation::UserObjectFromRelation(), CTrackData::WriteToAnnot(), CFeatureTableReader_Imp::x_AddQualifierToImp(), CVariationUtilities::x_AddRefAlleleFixFlag(), x_AddUnreviewedType(), x_AddUnverifiedType(), CFeatureGenerator::SImplementation::x_CreateProteinBioseq(), CMacroFunction_SetStructCommDb::x_MakeNewStructuredComment(), CGraphTrack::x_OnJobCompleted(), CShortReadFastaInputSource::x_ReadFastaOrFastq(), CShortReadFastaInputSource::x_ReadFastc(), CShortReadFastaInputSource::x_ReadFastqOneSeq(), CASN1InputSourceOMF::x_ReadFromSingleFile(), CASN1InputSourceOMF::x_ReadFromTwoFiles(), CShortReadFastaInputSource::x_ReadFromTwoFiles(), CSraInputSource::x_ReadPairs(), CNetBLASTUIDataSource::x_SaveJobDescriptors(), CFeatureGenerator::SImplementation::x_SetComment(), CVariationNormalization_base< T >::x_SetShiftFlag(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CBLASTParams::x_ToUserObject(), CReaderBase::xAddConversionInfo(), CBedReader::xAssignBedColumnCount(), CGvfReader::xFeatureSetExt(), CBedImportData::xInitializeRgb(), CBedImportData::xInitializeScore(), CGvfReader::xParseStructuredComment(), CVcfReader::xProcessFilter(), CVcfReader::xProcessFormat(), CVcfReader::xProcessHeaderLine(), CVcfReader::xProcessInfo(), CVcfReader::xProcessMetaLine(), CVcfReader::xProcessScore(), CBedReader::xSetFeatureColorDefault(), CBedReader::xSetFeatureColorFromItemRgb(), CBedReader::xSetFeatureColorFromScore(), CBedReader::xSetFeatureDisplayData(), CMicroArrayReader::xSetFeatureDisplayData(), CBedReader::xSetFeatureLocationBlock(), CBedReader::xSetFeatureLocationCds(), CBedReader::xSetFeatureLocationChrom(), CBedReader::xSetFeatureLocationGene(), CBedReader::xSetFeatureLocationRna(), CBedReader::xSetFeatureLocationThick(), and CBedReader::xSetFeatureScore().
CUser_object & CUser_object::AddField | ( | const string & | label, |
const vector< CRef< CUser_field > > & | value | ||
) |
Definition at line 343 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), and CUser_field::SetValue().
CUser_object & CUser_object::AddField | ( | const string & | label, |
const vector< CRef< CUser_object > > & | value | ||
) |
Definition at line 331 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), and CUser_field::SetValue().
CUser_object & CUser_object::AddField | ( | const string & | label, |
const vector< double > & | value | ||
) |
Definition at line 318 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
const vector< int > & | value | ||
) |
Definition at line 306 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
const vector< string > & | value | ||
) |
Definition at line 294 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
CUser_object & | value | ||
) |
Definition at line 282 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), and CUser_field::SetValue().
CUser_object & CUser_object::AddField | ( | const string & | label, |
double | value | ||
) |
Definition at line 257 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
int | value | ||
) |
Definition at line 231 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
Int8 | value | ||
) |
Definition at line 219 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
CUser_object & CUser_object::AddField | ( | const string & | label, |
TGi | value | ||
) |
Definition at line 244 of file User_object.cpp.
References label, CUser_object_Base::SetData(), CUser_field_Base::SetLabel(), CUser_field::SetValue(), and rapidjson::value.
void CUser_object::AddUnreviewedUnannotated | ( | ) |
Definition at line 869 of file User_object.cpp.
References x_AddUnreviewedType().
Referenced by CUnreviewedPanel::GetUser_object(), and CApplyIndexerComments::GetUserObjectComment().
void CUser_object::AddUnverifiedContaminant | ( | ) |
Definition at line 851 of file User_object.cpp.
References x_AddUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CUnverifiedPanel::GetUser_object(), CApplyIndexerComments::GetUserObjectComment(), and s_AddUnverifiedType().
void CUser_object::AddUnverifiedFeature | ( | ) |
Definition at line 815 of file User_object.cpp.
References x_AddUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CConvertCdsToMiscFeat::GetCommand(), CUnverifiedPanel::GetUser_object(), CApplyIndexerComments::GetUserObjectComment(), s_AddUnverifiedType(), and CConvertFeatDlg::x_AddUnverified().
void CUser_object::AddUnverifiedMisassembled | ( | ) |
Definition at line 833 of file User_object.cpp.
References x_AddUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CUnverifiedPanel::GetUser_object(), CApplyIndexerComments::GetUserObjectComment(), and s_AddUnverifiedType().
void CUser_object::AddUnverifiedOrganism | ( | ) |
Definition at line 797 of file User_object.cpp.
References x_AddUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CUnverifiedPanel::GetUser_object(), CApplyIndexerComments::GetUserObjectComment(), and s_AddUnverifiedType().
CUser_object::ECategory CUser_object::GetCategory | ( | void | ) | const |
accessors: classify a given user object
Definition at line 366 of file User_object.cpp.
References NStr::CompareNocase(), data, CUser_field_Base::C_Data::e_Object, eCategory_Experiment, eCategory_Unknown, CUser_object_Base::GetClass(), CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CUser_object_Base::IsSetClass(), CUser_field_Base::IsSetLabel(), CObject_id_Base::IsStr(), ITERATE, s_exp, s_expres, s_ncbi, and ncbi::grid::netcache::search::fields::size.
Referenced by GetExperimentType(), s_GetUserObjectContent(), and s_GetUserObjectType().
const CUser_object & CUser_object::GetExperiment | ( | void | ) | const |
Definition at line 429 of file User_object.cpp.
References eExperiment_Sage, eExperiment_Unknown, CUser_object_Base::GetData(), and GetExperimentType().
CUser_object::EExperiment CUser_object::GetExperimentType | ( | void | ) | const |
sub-category accessors:
Definition at line 405 of file User_object.cpp.
References NStr::CompareNocase(), eCategory_Experiment, eExperiment_Sage, eExperiment_Unknown, GetCategory(), CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::C_Data::GetObject(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CObject_id_Base::IsStr(), and s_sage.
Referenced by GetExperiment(), s_GetUserObjectContent(), and s_GetUserObjectType().
const CUser_field & CUser_object::GetField | ( | const string & | str, |
const string & | delim = "." , |
||
NStr::ECase | use_case = NStr::eCase |
||
) | const |
Access a named field in this user object.
This is a little sneaky in that it interprets a delimiter for recursion. This version will throw an exception if the field doesn't exist.
Definition at line 71 of file User_object.cpp.
References CConstRef< C, Locker >::Empty(), GetFieldRef(), NCBI_THROW, and str().
Referenced by CChangeStructuredCommentKeyword::ApplyToCSeq_entry_user(), CReorderStructuredComment::ApplyToCSeq_entry_user(), CGvfWriteRecord::AssignSource(), CGvfWriteRecord::AssignType(), BOOST_AUTO_TEST_CASE(), CLDBlockGlyph::CLDBlockGlyph(), CAnnotationASN1::CImplementationData::create_ModelEvidence_user_object(), CDockContainerDescr::FromUserObject(), CComplexRelation::FromUserObject(), CBLASTParams::FromUserObject(), CConstSageData::GetCount(), GetDBLinkIDs(), CConstSageData::GetField(), CGenomeAnnotComment::GetGenomeBuildNumber(), CClonePlacementGlyph::GetLabel(), CGC_Replicon::GetMoleculeLabel(), CGC_Replicon::GetMoleculeLocation(), CGC_Replicon::GetMoleculeType(), CCommentItem::GetRefTrackStatus(), CCommentItem::GetStringForBankIt(), CCommentItem::GetStringForRefTrack(), CCommentItem::GetStringForTLS(), CCommentItem::GetStringForTSA(), CCommentItem::GetStringForWGS(), CConstSageData::GetTag(), CGuiObjectInfoSeq_align::GetToolTip(), CEditingActionDescGenomeProjectId::GetValue(), CEditingActionDescStructCommDbName::GetValue(), CTableImportDataSource::ImportTableParms(), CPhyloSelectionSetMgr::InitFromUserObject(), CPhyloSelectionSet::InitFromUserObject(), CTreeLabel::InitializeFromUserObject(), CPhyTreeView::InitView(), CTestApplication::LoadTable(), MakeCompartments(), CPhyTreeView::OnBioTreeChanged(), CPhyTreeView::OnSomethingEdited(), CTabularFormatter_AssemblyInfo::Print(), CRelation::RelationFromUserObject(), CReorderStructuredComment::reorder_comment_by_rule(), RestoreModelMethod(), s_GetAssemblyInfo(), s_GetEncodeValues(), s_GetModelEvidance(), s_IsGenomeAnnotationStart(), s_PassesFilter(), CTreeLabel::SaveToUserObject(), CEditingActionDescUserObject::SetValue(), sGetMethodFromModelEvidence(), sWindowPosFromUserObject(), CGvfWriteRecord::x_AssignAttributeID(), CGvfWriteRecord::x_AssignAttributeParent(), CGvfWriteRecord::x_AssignAttributeVarType(), CBLASTParams::x_FromUserObject(), CClonePlacementGlyph::x_GetCloneEnds(), CCommonComponentScorer::x_GetUserCompList(), CValidError_bioseq::x_HasPGAPStructuredComment(), CLDBlockJob::x_LoadFtable(), CNetBLASTUIDataSource::x_LoadJobDescriptors(), CBamRefSeqInfo::x_LoadRangesCov(), CGraphTrack::x_LoadSettings(), CAlignFilter::x_Query_Op(), CVcfWriter::x_WriteFeatureFilter(), CVcfWriter::x_WriteFeatureInfo(), CVcfWriter::x_WriteFeatureQual(), CVcfWriter::x_WriteInit(), and CGtfWriter::xAssignFeatureMethod().
CConstRef< CUser_field > CUser_object::GetFieldRef | ( | const string & | str, |
const string & | delim = "." , |
||
NStr::ECase | use_case = NStr::eCase |
||
) | const |
Definition at line 84 of file User_object.cpp.
References NStr::Equal(), first(), NStr::fSplit_Tokenize, CUser_object_Base::GetData(), CUser_field::GetFieldRef(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_field_Base::IsSetLabel(), CObject_id_Base::IsStr(), ITERATE, NStr::Split(), and str().
Referenced by BOOST_AUTO_TEST_CASE(), CSnpBitfieldFactory::CreateBitfield(), CSnpBitfield2::CSnpBitfield2(), CGBDocument::DetachDataLoader(), GetField(), CUserFeatHandler::GetLabel(), NSnp::GetLength(), CSeq_annot_SplitInfo::GetName(), GetRefGeneTrackingAssembly(), GetRefGeneTrackingGenerated(), GetRefGeneTrackingIdenticalTo(), GetRefGeneTrackingStatus(), CCommentItem::GetStringForRefSeqGenome(), CCommentItem::GetStringForRefTrack(), CSequenceTrack::GetTooltip(), HasField(), CSeqTableReader::Init(), CDiscrepancyContext::IsBGPipe(), CVariationNormalization::isFullyShifted(), CComment_rule::IsValid(), CTabularFormatter_BestPlacementGroup::Print(), CDemoApp::Run(), s_GetBoxStyle(), s_GetVcfAttribute(), s_Render_Feat_Evidence(), s_SeqDescCompare(), CBedWriter::WriteAnnot(), CFeatureItem::x_AddQualsRegion(), CClonePlacementGlyph::x_Draw(), CFlatGatherer::x_GetAnnotDescStrucCommentFromBioseqHandle(), x_GetRefGeneTrackingField(), CBamRefSeqInfo::x_LoadRangesCov(), CBioseqContext::x_SetAuthorizedAccess(), CBioseqContext::x_SetFiletrackURL(), CSeq_annot_Info::x_UpdateName(), CValidError_desc::x_ValidateStructuredComment(), CVcfWriter::x_WriteFeatureGenotypeData(), and CVcfWriter::x_WriteMeta().
void CUser_object::GetLabel | ( | string * | label, |
ELabelContent | mode = eContent |
||
) | const |
Append a label to label.
The type defaults to content for backward compatibility
Definition at line 533 of file User_object.cpp.
References eBoth, eContent, eType, label, s_GetUserObjectContent(), and s_GetUserObjectType().
Referenced by s_GetContentLabel().
CUser_object::EObjectType CUser_object::GetObjectType | ( | void | ) | const |
Definition at line 625 of file User_object.cpp.
References eObjectType_OriginalId, eObjectType_Unknown, NStr::EqualNocase(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CUser_object_Base::IsSetType(), kOrigIdAltSpell, and label.
Referenced by BOOST_AUTO_TEST_CASE(), CheckAutoDefOptions(), CheckLocalId(), CDeflineGenerator::GenerateDefline(), CLocalIDField::GetApplyObjects(), CEditObjectSeq_desc::GetDescriptorType(), GetOptionsForSet(), GetRefGeneTrackingAssembly(), GetRefGeneTrackingGenerated(), GetRefGeneTrackingIdenticalTo(), GetRefGeneTrackingStatus(), CLocalIDField::GetVals(), IsAutodefOptions(), IsCleanup(), IsDBLink(), CLocalIDField::IsEmpty(), IsFileTrack(), IsOriginalId(), IsRefGeneTracking(), IsStructuredComment(), IsUnreviewed(), IsUnverified(), IsValidationSuppression(), CAutoDef::RegenerateDefLine(), CAutoDef::RegenerateSequenceDefLines(), s_AutoDefUserObjectFromBioseq(), CCleanup::s_CleanupDBLink(), CCleanup::s_CleanupStructuredComment(), s_GetOptionsForSet(), s_GetOriginalId(), s_IsGenomeAnnotationStart(), CMacroFunction_RefreshDefline::s_RefreshDeflineCommand(), CCleanup::s_RemoveEmptyFields(), CValidError_bioseqset::ShouldHaveNoDblink(), CPropagateDescriptors::ShouldStayInPlace(), CValidError_bioseq::ValidateWGSMaster(), CSubmissionWizard::x_ApplyDescriptorToRecord(), CSubmissionWizard::x_ApplyUserDescriptorToRecord(), x_GetRefGeneTrackingField(), CMacroFunction_ParsedText::x_GetSpecialField(), CNewCleanup_imp::x_IsDBLinkUserObj(), CAutoDef::x_IsHumanSTR(), x_IsUnreviewedType(), x_IsUnverifiedType(), x_RemoveUnreviewedType(), x_RemoveUnverifiedType(), CBioseqContext::x_SetDataFromUserObjects(), and CValidError_bioseq::x_ShowBioProjectWarning().
CUser_object::TRefGeneTrackingAccessions CUser_object::GetRefGeneTrackingAssembly | ( | ) | const |
Definition at line 1285 of file User_object.cpp.
References eObjectType_RefGeneTracking, CUser_field_Base::GetData(), GetFieldRef(), CUser_field_Base::C_Data::GetFields(), GetObjectType(), CUser_field_Base::C_Data::IsFields(), CUser_field_Base::IsSetData(), kRefGeneTrackingAssembly, and CUser_object::CRefGeneTrackingAccession::MakeAccessionFromUserField().
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingAssembly().
Definition at line 1055 of file User_object.cpp.
References kRefGeneTrackingCollaborator, and x_GetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingCollaborator().
Definition at line 1074 of file User_object.cpp.
References kRefGeneTrackingCollaboratorURL, and x_GetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingCollaboratorURL().
bool CUser_object::GetRefGeneTrackingGenerated | ( | ) | const |
Definition at line 1096 of file User_object.cpp.
References eObjectType_RefGeneTracking, CUser_field_Base::C_Data::GetBool(), CUser_field_Base::GetData(), GetFieldRef(), GetObjectType(), CUser_field_Base::C_Data::IsBool(), CUser_field_Base::IsSetData(), and kRefGeneTrackingGenerated.
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 1036 of file User_object.cpp.
References kRefGeneTrackingGenomicSource, and x_GetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingGenomicSource().
CConstRef< CUser_object::CRefGeneTrackingAccession > CUser_object::GetRefGeneTrackingIdenticalTo | ( | ) | const |
Definition at line 1250 of file User_object.cpp.
References eObjectType_RefGeneTracking, CUser_field_Base::GetData(), GetFieldRef(), CUser_field_Base::C_Data::GetFields(), GetObjectType(), CUser_field_Base::C_Data::IsFields(), CUser_field_Base::IsSetData(), kRefGeneTrackingIdenticalTo, CUser_object::CRefGeneTrackingAccession::MakeAccessionFromUserField(), and NULL.
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingIdenticalTo().
CUser_object::ERefGeneTrackingStatus CUser_object::GetRefGeneTrackingStatus | ( | ) | const |
Definition at line 999 of file User_object.cpp.
References eObjectType_RefGeneTracking, eRefGeneTrackingStatus_Error, eRefGeneTrackingStatus_NotSet, CUser_field_Base::GetData(), GetFieldRef(), GetObjectType(), CUser_field_Base::C_Data::GetStr(), CUser_field_Base::IsSetData(), CUser_field_Base::C_Data::IsStr(), kRefGeneTrackingStatus, and NCBI_THROW.
Referenced by BOOST_AUTO_TEST_CASE(), and IsSetRefGeneTrackingStatus().
bool CUser_object::HasField | ( | const string & | str, |
const string & | delim = "." , |
||
NStr::ECase | use_case = NStr::eCase |
||
) | const |
Verify that a named field exists.
Definition at line 138 of file User_object.cpp.
References GetFieldRef(), CConstRef< C, Locker >::GetPointer(), str(), and true.
Referenced by CScoreBuilder::AddTracebacks(), CSetGlobalRefGeneStatus::ApplyToCSeq_entry(), CGvfWriteRecord::AssignSource(), CGvfWriteRecord::AssignType(), BOOST_AUTO_TEST_CASE(), CAnnotationASN1::CImplementationData::create_ModelEvidence_user_object(), CGenomeAnnotComment::GetGenomeBuildNumber(), CClonePlacementGlyph::GetLabel(), CCommentItem::GetRefTrackStatus(), CCommentItem::GetStringForBankIt(), CCommentItem::GetStringForRefTrack(), CCommentItem::GetStringForTLS(), CCommentItem::GetStringForTSA(), CCommentItem::GetStringForWGS(), CGuiObjectInfoSeq_align::GetToolTip(), CEditingActionDescStructCommDbName::GetValue(), CTableImportDataSource::ImportTableParms(), CPhyloSelectionSetMgr::InitFromUserObject(), CPhyloSelectionSet::InitFromUserObject(), CTreeLabel::InitializeFromUserObject(), CPhyTreeView::InitView(), CEditingActionDescGenomeProjectId::IsSetValue(), CEditingActionDescStructCommDbName::IsSetValue(), CTestApplication::LoadTable(), CPhyTreeView::OnBioTreeChanged(), CPhyTreeView::OnSomethingEdited(), CTabularFormatter_AssemblyInfo::Print(), CReorderStructuredComment::reorder_comment_by_rule(), RestoreModelMethod(), s_GetAssemblyInfo(), s_GetEncodeValues(), s_GetModelEvidance(), s_UpdateField(), CTreeLabel::SaveToUserObject(), CPhyloSelectionSetMgr::SaveToUserObject(), CEditingActionDescUserObject::SetValue(), sGetMethodFromModelEvidence(), CMacroFunction_ParseToStructComm::TheFunction(), CMacroFunction_SetStructCommDb::TheFunction(), CBedWriter::WriteAnnot(), CGvfWriteRecord::x_AssignAttributeID(), CGvfWriteRecord::x_AssignAttributeParent(), CGvfWriteRecord::x_AssignAttributeVarType(), CBLASTParams::x_FromUserObject(), CClonePlacementGlyph::x_GetCloneEnds(), CCommonComponentScorer::x_GetUserCompList(), CValidError_bioseq::x_HasPGAPStructuredComment(), CGraphTrack::x_LoadSettings(), CValidError_bioseq::x_ShowBioProjectWarning(), CValidError_desc::x_ValidateStructuredComment(), CVcfWriter::x_WriteFeatureFilter(), CVcfWriter::x_WriteFeatureInfo(), CVcfWriter::x_WriteFeatureQual(), CVcfWriter::x_WriteInit(), and CGtfWriter::xAssignFeatureMethod().
|
inline |
Definition at line 183 of file User_object.hpp.
References eObjectType_AutodefOptions, and GetObjectType().
|
inline |
Definition at line 182 of file User_object.hpp.
References eObjectType_Cleanup, and GetObjectType().
|
inline |
Definition at line 177 of file User_object.hpp.
References eObjectType_DBLink, and GetObjectType().
Referenced by CMultiReader::LoadTemplate(), s_IsDBLink(), CDescrCache::SetDBLink(), and CValidError_desc::ValidateUser().
|
inline |
Definition at line 184 of file User_object.hpp.
References eObjectType_FileTrack, and GetObjectType().
|
inline |
Definition at line 179 of file User_object.hpp.
References eObjectType_OriginalId, and GetObjectType().
|
inline |
Definition at line 185 of file User_object.hpp.
References eObjectType_RefGeneTracking, and GetObjectType().
Referenced by BOOST_AUTO_TEST_CASE(), CValidError_bioseq::ValidateDelta(), CValidError_bioseq::ValidateSeqDescContext(), and CValidError_desc::ValidateUser().
|
inline |
Definition at line 346 of file User_object.hpp.
References GetRefGeneTrackingAssembly().
|
inline |
Definition at line 252 of file User_object.hpp.
References GetRefGeneTrackingCollaborator().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 259 of file User_object.hpp.
References GetRefGeneTrackingCollaboratorURL().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 242 of file User_object.hpp.
References GetRefGeneTrackingGenomicSource().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 340 of file User_object.hpp.
References GetRefGeneTrackingIdenticalTo(), and NULL.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 233 of file User_object.hpp.
References eRefGeneTrackingStatus_Error, eRefGeneTrackingStatus_NotSet, GetRefGeneTrackingStatus(), and val.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 178 of file User_object.hpp.
References eObjectType_StructuredComment, and GetObjectType().
Referenced by CValidError_bioseq::ValidateSeqDescContext(), and CValidError_desc::ValidateUser().
|
inline |
Definition at line 186 of file User_object.hpp.
References eObjectType_Unreviewed, and GetObjectType().
Referenced by CDeflineGenerator::x_SetFlags().
bool CUser_object::IsUnreviewedUnannotated | ( | ) | const |
Definition at line 863 of file User_object.cpp.
References x_IsUnreviewedType().
Referenced by CBioseqIndex::x_InitDescs(), CBioseqContext::x_SetDataFromUserObjects(), and CDeflineGenerator::x_SetFlags().
|
inline |
Definition at line 180 of file User_object.hpp.
References eObjectType_Unverified, and GetObjectType().
Referenced by BOOST_AUTO_TEST_CASE(), and CDeflineGenerator::x_SetFlags().
bool CUser_object::IsUnverifiedContaminant | ( | ) | const |
Definition at line 845 of file User_object.cpp.
References x_IsUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CBioseqIndex::x_InitDescs(), CBioseqContext::x_SetDataFromUserObjects(), and CDeflineGenerator::x_SetFlags().
bool CUser_object::IsUnverifiedFeature | ( | ) | const |
Definition at line 809 of file User_object.cpp.
References x_IsUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CBioseqIndex::x_InitDescs(), CBioseqContext::x_SetDataFromUserObjects(), and CDeflineGenerator::x_SetFlags().
bool CUser_object::IsUnverifiedMisassembled | ( | ) | const |
Definition at line 827 of file User_object.cpp.
References x_IsUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CBioseqIndex::x_InitDescs(), CBioseqContext::x_SetDataFromUserObjects(), and CDeflineGenerator::x_SetFlags().
bool CUser_object::IsUnverifiedOrganism | ( | ) | const |
Definition at line 791 of file User_object.cpp.
References x_IsUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), CBioseqIndex::x_InitDescs(), CBioseqContext::x_SetDataFromUserObjects(), and CDeflineGenerator::x_SetFlags().
|
inline |
Definition at line 181 of file User_object.hpp.
References eObjectType_ValidationSuppression, and GetObjectType().
|
private |
bool CUser_object::RemoveNamedField | ( | const string & | field_name, |
NStr::ECase | ecase = NStr::eCase |
||
) |
Definition at line 900 of file User_object.cpp.
References NStr::Equal(), CUser_object_Base::IsSetData(), label, NStr::NumericToString(), and CUser_object_Base::SetData().
Referenced by ResetRefGeneTrackingAssembly(), ResetRefGeneTrackingCollaborator(), ResetRefGeneTrackingCollaboratorURL(), ResetRefGeneTrackingGenerated(), ResetRefGeneTrackingGenomicSource(), ResetRefGeneTrackingIdenticalTo(), ResetRefGeneTrackingStatus(), CMacroFunction_SetStructCommDb::TheFunction(), and x_SetRefGeneTrackingField().
void CUser_object::RemoveUnreviewedUnannotated | ( | ) |
Definition at line 875 of file User_object.cpp.
References x_RemoveUnreviewedType().
Referenced by CUnreviewedPanel::GetUser_object().
void CUser_object::RemoveUnverifiedContaminant | ( | ) |
Definition at line 857 of file User_object.cpp.
References x_RemoveUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), and CUnverifiedPanel::GetUser_object().
void CUser_object::RemoveUnverifiedFeature | ( | ) |
Definition at line 821 of file User_object.cpp.
References x_RemoveUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), and CUnverifiedPanel::GetUser_object().
void CUser_object::RemoveUnverifiedMisassembled | ( | ) |
Definition at line 839 of file User_object.cpp.
References x_RemoveUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), and CUnverifiedPanel::GetUser_object().
void CUser_object::RemoveUnverifiedOrganism | ( | ) |
Definition at line 803 of file User_object.cpp.
References x_RemoveUnverifiedType().
Referenced by BOOST_AUTO_TEST_CASE(), and CUnverifiedPanel::GetUser_object().
void CUser_object::ResetRefGeneTrackingAssembly | ( | ) |
Definition at line 1306 of file User_object.cpp.
References kRefGeneTrackingAssembly, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingCollaborator | ( | ) |
Definition at line 1061 of file User_object.cpp.
References kRefGeneTrackingCollaborator, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingCollaboratorURL | ( | ) |
Definition at line 1080 of file User_object.cpp.
References kRefGeneTrackingCollaboratorURL, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingGenerated | ( | ) |
Definition at line 1111 of file User_object.cpp.
References kRefGeneTrackingGenerated, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingGenomicSource | ( | ) |
Definition at line 1042 of file User_object.cpp.
References kRefGeneTrackingGenomicSource, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingIdenticalTo | ( | ) |
Definition at line 1263 of file User_object.cpp.
References kRefGeneTrackingIdenticalTo, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::ResetRefGeneTrackingStatus | ( | ) |
Definition at line 1022 of file User_object.cpp.
References kRefGeneTrackingStatus, and RemoveNamedField().
Referenced by BOOST_AUTO_TEST_CASE().
CUser_object & CUser_object::SetCategory | ( | ECategory | category | ) |
format a user object as a given type.
This returns a user-object that is suitable for containing whatever specifics might be needed
Definition at line 555 of file User_object.cpp.
References AddField(), CUser_object(), eCategory_Experiment, eCategory_Unknown, CUser_object_Base::Reset(), s_exp, s_expres, s_ncbi, CUser_object_Base::SetClass(), CObject_id_Base::SetStr(), and CUser_object_Base::SetType().
CUser_object & CUser_object::SetExperiment | ( | EExperiment | category | ) |
format a user object as a given type.
This returns a user-object that is suitable for containing whatever specifics might be needed
Definition at line 578 of file User_object.cpp.
References eExperiment_Sage, eExperiment_Unknown, CUser_object_Base::Reset(), s_ncbi, s_sage, CUser_object_Base::SetClass(), CObject_id_Base::SetStr(), and CUser_object_Base::SetType().
CUser_field & CUser_object::SetField | ( | const string & | str, |
const string & | delim = "." , |
||
const string & | obj_subtype = kEmptyStr , |
||
NStr::ECase | use_case = NStr::eCase |
||
) |
Access a named field in this user object.
This is a little sneaky in that it interprets a delimiter for recursion. The 'obj_subtype' parameter is used to set the subtype of a sub-object if a new sub-object needs to be created
Definition at line 150 of file User_object.cpp.
References SetFieldRef(), and str().
Referenced by CScoreBuilder::AddTracebacks(), CSetGlobalRefGeneStatus::ApplyToCSeq_entry(), variation_ref::AttachAssertedSequence(), NSNPVariationHelper::ConvertFeat(), CTableImportDataSource::ImportTableParms(), CPhyTreeView::OnSomethingEdited(), CDemoContigAssemblyApp::Run(), s_UpdateField(), CTreeLabel::SaveToUserObject(), CGBProjectHandle::SaveViewSettings(), CSageData::SetCount(), CSageData::SetField(), CSageData::SetMethod(), SetRefGeneTrackingAssembly(), SetRefGeneTrackingGenerated(), SetRefGeneTrackingIdenticalTo(), CSageData::SetTag(), CEditingActionDescGenomeProjectId::SetValue(), CEditingActionDescUserObject::SetValue(), CEditingActionDescStructCommDbName::SetValue(), CMacroFunction_ParseToStructComm::TheFunction(), and x_SetRefGeneTrackingField().
CRef< CUser_field > CUser_object::SetFieldRef | ( | const string & | str, |
const string & | delim = "." , |
||
const string & | obj_subtype = kEmptyStr , |
||
NStr::ECase | use_case = NStr::eCase |
||
) |
Definition at line 159 of file User_object.cpp.
References NStr::Equal(), f, NStr::fSplit_Tokenize, CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CObject_id_Base::IsStr(), NStr::Join(), NON_CONST_ITERATE, CRef< C, Locker >::Reset(), CUser_object_Base::SetData(), CUser_field::SetFieldRef(), CUser_field_Base::SetLabel(), NStr::Split(), and str().
Referenced by CSegregateSetsBase::AddUserObject(), CWithdrawSequences::GetCommand(), CBam2Seq_graph::MakeSeq_annot(), SetField(), SetFileTrackURL(), and UpdateNcbiCleanup().
Definition at line 940 of file User_object.cpp.
References SetFileTrackURL().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 932 of file User_object.cpp.
References eObjectType_FileTrack, CUser_field_Base::SetData(), SetFieldRef(), and SetObjectType().
Referenced by CApplyIndexerComments::GetUserObjectComment(), and SetFileTrackUploadId().
void CUser_object::SetObjectType | ( | EObjectType | obj_type | ) |
Definition at line 647 of file User_object.cpp.
References CUser_object_Base::ResetType(), CObject_id_Base::SetStr(), and CUser_object_Base::SetType().
Referenced by AddLocalIdUserObjects(), AddRefGeneTrackingUserObject(), BOOST_AUTO_TEST_CASE(), CSequenceEditingEventHandler::CreateDescriptor(), CConvertCdsToMiscFeat::GetCommand(), CUnreviewedPanel::GetUser_object(), CUnverifiedPanel::GetUser_object(), CApplyIndexerComments::GetUserObjectComment(), CDBLinkField::MakeUserObject(), CAutoDefOptions::MakeUserObject(), CValidatePanel::OnListItemRightClick(), s_AddUnverifiedType(), SetFileTrackURL(), SetRefGeneTrackingAssembly(), SetRefGeneTrackingGenerated(), SetRefGeneTrackingIdenticalTo(), CMacroFunction_ParseToStructComm::TheFunction(), UpdateNcbiCleanup(), x_AddUnreviewedType(), CConvertFeatDlg::x_AddUnverified(), x_AddUnverifiedType(), CSubmissionWizard::x_InitializeDescriptorList(), CMacroFunction_SetStructCommDb::x_MakeNewStructuredComment(), and x_SetRefGeneTrackingField().
void CUser_object::SetRefGeneTrackingAssembly | ( | const TRefGeneTrackingAccessions & | acc_list | ) |
Definition at line 1270 of file User_object.cpp.
References eObjectType_RefGeneTracking, kRefGeneTrackingAssembly, CUser_field_Base::ResetData(), CUser_field_Base::SetData(), SetField(), and SetObjectType().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 1049 of file User_object.cpp.
References kRefGeneTrackingCollaborator, val, and x_SetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 1068 of file User_object.cpp.
References kRefGeneTrackingCollaboratorURL, val, and x_SetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 1088 of file User_object.cpp.
References eObjectType_RefGeneTracking, kRefGeneTrackingGenerated, CUser_field::SetBool(), SetField(), SetObjectType(), and val.
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 1030 of file User_object.cpp.
References kRefGeneTrackingGenomicSource, and x_SetRefGeneTrackingField().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::SetRefGeneTrackingIdenticalTo | ( | const CRefGeneTrackingAccession & | accession | ) |
Definition at line 1238 of file User_object.cpp.
References eObjectType_RefGeneTracking, kRefGeneTrackingIdenticalTo, CUser_object::CRefGeneTrackingAccession::MakeAccessionField(), CUser_field_Base::ResetData(), CUser_field_Base::SetData(), SetField(), and SetObjectType().
Referenced by BOOST_AUTO_TEST_CASE().
void CUser_object::SetRefGeneTrackingStatus | ( | ERefGeneTrackingStatus | status | ) |
Definition at line 988 of file User_object.cpp.
References kRefGeneTrackingStatus, NCBI_THROW, and x_SetRefGeneTrackingField().
Referenced by AddRefGeneTrackingUserObject(), and BOOST_AUTO_TEST_CASE().
void CUser_object::UpdateNcbiCleanup | ( | int | version | ) |
Definition at line 881 of file User_object.cpp.
References CTime::Day(), CTime::eCurrent, eObjectType_Cleanup, CTime::Month(), CUser_field_Base::SetData(), SetFieldRef(), SetObjectType(), CUser_field::SetValue(), dtl::version, and CTime::Year().
Definition at line 758 of file User_object.cpp.
References AddField(), eObjectType_Unreviewed, SetObjectType(), val, and x_IsUnreviewedType().
Referenced by AddUnreviewedUnannotated().
Definition at line 692 of file User_object.cpp.
References AddField(), eObjectType_Unverified, SetObjectType(), val, and x_IsUnverifiedType().
Referenced by AddUnverifiedContaminant(), AddUnverifiedFeature(), AddUnverifiedMisassembled(), and AddUnverifiedOrganism().
Definition at line 960 of file User_object.cpp.
References eObjectType_RefGeneTracking, CUser_field_Base::GetData(), GetFieldRef(), GetObjectType(), CUser_field_Base::C_Data::GetStr(), CUser_field_Base::IsSetData(), CUser_field_Base::C_Data::IsStr(), and kEmptyStr.
Referenced by GetRefGeneTrackingCollaborator(), GetRefGeneTrackingCollaboratorURL(), and GetRefGeneTrackingGenomicSource().
Definition at line 739 of file User_object.cpp.
References eObjectType_Unreviewed, CUser_object_Base::GetData(), GetObjectType(), CUser_object_Base::IsSetData(), ITERATE, and val.
Referenced by IsUnreviewedUnannotated(), x_AddUnreviewedType(), and x_RemoveUnreviewedType().
|
private |
Definition at line 725 of file User_object.cpp.
References NStr::Equal(), CUser_field_Base::GetData(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_field_Base::IsSetData(), CUser_field_Base::IsSetLabel(), CObject_id_Base::IsStr(), CUser_field_Base::C_Data::IsStr(), and val.
Definition at line 673 of file User_object.cpp.
References eObjectType_Unverified, CUser_object_Base::GetData(), GetObjectType(), CUser_object_Base::IsSetData(), ITERATE, and val.
Referenced by IsUnverifiedContaminant(), IsUnverifiedFeature(), IsUnverifiedMisassembled(), IsUnverifiedOrganism(), x_AddUnverifiedType(), and x_RemoveUnverifiedType().
|
private |
Definition at line 659 of file User_object.cpp.
References NStr::Equal(), CUser_field_Base::GetData(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_field_Base::IsSetData(), CUser_field_Base::IsSetLabel(), CObject_id_Base::IsStr(), CUser_field_Base::C_Data::IsStr(), and val.
Definition at line 769 of file User_object.cpp.
References ctll::empty(), eObjectType_Unreviewed, CUser_object_Base::GetData(), GetObjectType(), CUser_object_Base::IsSetData(), CUser_object_Base::ResetData(), CUser_object_Base::SetData(), val, and x_IsUnreviewedType().
Referenced by RemoveUnreviewedUnannotated().
Definition at line 703 of file User_object.cpp.
References ctll::empty(), eObjectType_Unverified, CUser_object_Base::GetData(), GetObjectType(), CUser_object_Base::IsSetData(), CUser_object_Base::ResetData(), CUser_object_Base::SetData(), val, and x_IsUnverifiedType().
Referenced by RemoveUnverifiedContaminant(), RemoveUnverifiedFeature(), RemoveUnverifiedMisassembled(), and RemoveUnverifiedOrganism().
|
private |
Definition at line 949 of file User_object.cpp.
References eObjectType_RefGeneTracking, RemoveNamedField(), SetField(), SetObjectType(), CUser_field::SetString(), and rapidjson::value.
Referenced by SetRefGeneTrackingCollaborator(), SetRefGeneTrackingCollaboratorURL(), SetRefGeneTrackingGenomicSource(), and SetRefGeneTrackingStatus().