63 static const string major_delim(
"::");
64 static const string minor_delim(
":");
70 bool is_context =
true;
94 attr->SetValue(
value);
107 return attr->GetValue();
User-defined methods of the data storage class.
void SetContextAttr(const string &key, const string &value)
virtual TContext & SetContext(void)
const string & GetContextAttr(const string &key) const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)
Split a string using specified delimiters.
static bool SplitInTwo(const CTempString str, const CTempString delim, string &str1, string &str2, TSplitFlags flags=0)
Split a string into two pieces using the specified delimiters.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
@ fSplit_ByPattern
Require full delimiter strings.
const TContext_attrs & GetContext_attrs(void) const
Get the Context_attrs member data.
TContext_attrs & SetContext_attrs(void)
Assign a value to Context_attrs data member.
bool IsSetContext_attrs(void) const
permission keys etc Check if a value has been assigned to Context_attrs data member.
TContext & SetContext(void)
Assign a value to Context data member.
const struct ncbi::grid::netcache::search::fields::KEY key
const GenericPointer< typename T::ValueType > T2 value
static CS_CONTEXT * context
list< STokenInfo > TTokens