Go to the SVN repository for this file.
1 #ifndef OBJTOOLS_READERS___READER_IDGEN__HPP 2 #define OBJTOOLS_READERS___READER_IDGEN__HPP 144 id->SetLocal().SetId((
int)(
m_Id.
Add(1) - 1));
User-defined methods of the data storage class.
Default implementation of a Seq-id resolver, which knows about FASTA-formatted sequence identifiers.
Default implementation for a generator of identifiers, as integers, mashalled as CFeat_id objects.
TId GenerateId()
Generates the "next" id.
COrdinalFeatIdGenerator()
Templated interface for a generator of identifiers (IDs) of any type.
virtual TId GenerateId()=0
Generates the "next" id.
IIdGenerator< T > TThisType
T TId
Type for the ID, which is a template parameter.
virtual bool IsThreadSafe()
Identifies if the implementation happens to be thread-safe.
virtual ~IIdGenerator()
Enforce virtual destructor.
Interface for resolving a sequence identifier given a textual representation.
virtual CSeq_id_Handle ResolveSeqId(const string &id) const =0
Returns a normalized representation of a sequence identifier, as Seq-id handle.
virtual ~ISeqIdResolver()
Enforce virtual destructor.
Thread-safe version of IIdGenerator.
IIdGenerator< T > TThisType
bool IsThreadSafe()
This implementeation IS thread-safe.
Include a standard set of the NCBI C++ Toolkit most basic headers.
void Set(TValue new_value) THROWS_NONE
Set atomic counter value.
TValue Add(int delta) THROWS_NONE
Atomically add value (=delta), and return new counter 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_XOBJREAD_EXPORT
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4