(vector<string>, it, hosts) {
69 const string& hn = *it;
88 ERR_POST(
"'"<< hn <<
"' is not a valid host name. Ignored.");
95 for(vector<string>::const_iterator k = old_as_from_config.begin();
96k != old_as_from_config.end(); ++k)
112 const string& separator)
const 118 for(; en.
valid(); ++en) {
static CJsonNode NewArrayNode()
Create a new JSON array node.
void AppendString(const string &value)
For an array node, add a string node at the end of the array.
void Append(CJsonNode::TInstance value)
For an array node, add a new element at the end of the array.
bool IsAllowed(unsigned int ha) const
string GetAsFromConfig(void) const
CJsonNode SetHosts(const string &host_names)
vector< string > m_AsFromConfig
string Print(const string &prefix, const string &separator) const
Constant iterator designed to enumerate "ON" bits.
bool valid() const noexcept
Checks if iterator is still valid.
Bitvector Bit-vector container with runtime compression of bits.
bool set_bit(size_type n, bool val=true)
Sets bit n.
enumerator first() const
Returns enumerator pointing on the first non-zero bit.
void clear(const size_type *ids, size_type ids_size, bm::sort_order so=bm::BM_UNKNOWN)
clear list of bits in this bitset
size_type count() const noexcept
population count (count of ON bits)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static CNCBI_IPAddr gethostbyname(const string &host, ESwitch log=eOff)
Return 0 or empty address on error.
static string gethostname(ESwitch log=eOff)
Return empty string on error.
static string gethostbyaddr(const CNCBI_IPAddr &addr, ESwitch log=eOff)
Return empty string on error.
static int CompareNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive compare of a substring with another string.
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.
@ fSplit_MergeDelimiters
Merge adjacent delimiters.
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