src/app/netschedule/ns_util.cpp File Reference

#include <ncbi_pch.hpp>
#include "ns_util.hpp"
#include <util/bitset/bmalgo.h>
#include <connect/ncbi_socket.hpp>

Include dependency graph for ns_util.cpp:

Go to the source code of this file.

Functions

string NS_EncodeBitVector (TNSBitVector &bv)
TNSBitVector NS_DecodeBitVector (const string &s)
void NS_FormatIPAddress (unsigned int ipaddr, string &str_addr)
string NS_FormatIPAddress (unsigned int ipaddr)


Function Documentation

TNSBitVector NS_DecodeBitVector const string &  s  ) 
 

Definition at line 86 of file ns_util.cpp.

References id, ITERATE, bm::bvector< Alloc, MS >::set(), NStr::Split(), NStr::SplitInTwo(), and NStr::StringToUInt().

Referenced by CNetScheduleHandler::ProcessConfirm(), CNetScheduleHandler::ProcessReadFailed(), and CNetScheduleHandler::ProcessReadRollback().

string NS_EncodeBitVector TNSBitVector bv  ) 
 

Definition at line 41 of file ns_util.cpp.

References bm::bvector< Alloc, MS >::enumerator, bm::bvector< Alloc, MS >::first(), and NStr::UIntToString().

Referenced by CNetScheduleHandler::ProcessReading().

string NS_FormatIPAddress unsigned int  ipaddr  ) 
 

Definition at line 121 of file ns_util.cpp.

References NS_FormatIPAddress().

void NS_FormatIPAddress unsigned int  ipaddr,
string &  str_addr
 

Definition at line 108 of file ns_util.cpp.

Referenced by NS_FormatIPAddress(), CNetScheduleHandler::ProcessSubmit(), CNetScheduleHandler::ProcessSubmitBatch(), and CNetScheduleServer::SetNSParameters().


Generated on Mon Dec 7 07:24:26 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:42 2009 by modify_doxy.py rev. 173732