NCBI C++ ToolKit
|
Search Toolkit Book for CGtfAttributes
#include <objtools/readers/gtf_reader.hpp>
Public Types | |
using | MultiValue = set< string > |
using | MultiAttributes = map< string, MultiValue > |
Public Member Functions | |
const MultiAttributes & | Get () const |
string | ValueOf (const string &key) const |
bool | HasValue (const string &key, const string &value="") const |
void | GetValues (const string &key, MultiValue &values) const |
void | AddValue (const string &key, const string &value) |
void | Remove (const string &key) |
void | RemoveValue (const string &key, const string &value) |
Protected Attributes | |
MultiAttributes | mAttributes |
Friends | |
CGtfAttributes | g_GetIntersection (const CGtfAttributes &x, const CGtfAttributes &y) |
Definition at line 51 of file gtf_reader.hpp.
using CGtfAttributes::MultiAttributes = map<string, MultiValue> |
Definition at line 58 of file gtf_reader.hpp.
using CGtfAttributes::MultiValue = set<string> |
Definition at line 56 of file gtf_reader.hpp.
Definition at line 113 of file gtf_reader.hpp.
References map_checker< Container >::end(), map_checker< Container >::find(), map_checker< Container >::insert(), ncbi::grid::netcache::search::fields::key, mAttributes, and rapidjson::value.
Referenced by CGtfReadRecord::xAssignAttributesFromGff().
|
inline |
Definition at line 61 of file gtf_reader.hpp.
References mAttributes.
Referenced by g_GetIntersection(), and CGtfReader::xFeatureSetQualifiers().
|
inline |
Definition at line 99 of file gtf_reader.hpp.
References set< Key, Compare >::clear(), map_checker< Container >::end(), map_checker< Container >::find(), ncbi::grid::netcache::search::fields::key, and mAttributes.
Referenced by ValueOf(), and CGtfReader::xPropagateQualToParent().
Definition at line 79 of file gtf_reader.hpp.
References map_checker< Container >::end(), map_checker< Container >::find(), ncbi::grid::netcache::search::fields::key, mAttributes, and rapidjson::value.
Referenced by CGtfReader::xFeatureTrimQualifiers().
Definition at line 125 of file gtf_reader.hpp.
References map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), ncbi::grid::netcache::search::fields::key, and mAttributes.
Definition at line 135 of file gtf_reader.hpp.
References map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), ncbi::grid::netcache::search::fields::key, mAttributes, and rapidjson::value.
Definition at line 67 of file gtf_reader.hpp.
References set< Key, Compare >::begin(), GetValues(), ncbi::grid::netcache::search::fields::key, and set< Key, Compare >::size().
Referenced by CGtfLocationRecord::CGtfLocationRecord(), CGtfReadRecord::FeatureKey(), CGtfReadRecord::GeneKey(), CGtfReadRecord::TranscriptId(), and CGtfReader::xFeatureSetDataMrna().
|
friend |
Definition at line 230 of file gtf_reader.cpp.
|
protected |
Definition at line 153 of file gtf_reader.hpp.
Referenced by AddValue(), Get(), GetValues(), HasValue(), Remove(), and RemoveValue().