Go to the SVN repository for this file.
62 if(packed.
Empty()) {
66packed->Insert(
"", 0);
71 if(packed.
Empty()) {
86 intwholebytes = (
int) seq.size() - 1;
87 return(wholebytes << 2) + (seq[wholebytes] & 0x3);
void Clear()
Free all held memory.
void Insert(const char *x, int L)
Insert string data into the container.
CWriteDB_PackedStrings< BLOCK > TPacked
A packed list of buffers.
void Sort()
Sort all contained data.
CWriteDB_PackedBuffer< BLOCK > m_Buffer
Shared list of packed string buffers.
int m_Size
Number of elements stored in this container.
@ PREFIX
This is the number of bytes for the first level index.
void Clear()
Clear all objects from this container.
TPackedMap m_Packed
Map of string prefixes to packed string lists.
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
void Reset(void)
Reset reference object.
bool Empty(void) const THROWS_NONE
Check if CRef is empty â not pointing to any object, which means having a null value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
constexpr bool empty(list< Ts... >) noexcept
USING_SCOPE(std)
Use standard C++ definitions.
int WriteDB_FindSequenceLength(bool protein, const string &seq)
Compute length of sequence from raw packing.
Implementation for general purpose utilities for WriteDB.
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