Common Object Interface Layer. More...
Classes | |
struct | __sigset |
class | Allocator |
Allocator class. More... | |
class | Async |
Async class. More... | |
class | Async_ref_t |
Async_ref_t template class. More... | |
class | Async_t |
Async_t template class. More... | |
class | Condition |
Condition template class. More... | |
struct | DIR |
Structure for directory stream. More... | |
struct | dirent |
Structure for directory entry. More... | |
class | DynamicLib |
DynamicLib class. More... | |
struct | escape_functor |
Functor to escape string. More... | |
class | Factory |
Factory template class. More... | |
class | GetOpt |
GetOpt class. More... | |
class | GlobalFactory |
GlobalFactory template class. More... | |
class | Guard |
Guard template class. More... | |
class | libDllTest |
class | log_stream |
log_stream template class More... | |
class | log_streambuf |
log_streambuf template class More... | |
class | Mutex |
Mutex class. More... | |
class | NonCopyable |
Non-copyable Mixin. More... | |
class | NonCopyableCRTP |
class | PeriodicTask |
PeriodicTask class. More... | |
class | PeriodicTaskBase |
PeriodicTaskBase class. More... | |
class | Popen |
class | Properties |
Class represents a set of properties. More... | |
struct | pthread_cond_t |
class | SignalAction |
SignalAction class. More... | |
class | Singleton |
Singleton template class. More... | |
class | Task |
Task class. More... | |
class | TaskFunc |
TaskFunc template class. More... | |
class | TaskFuncBase |
TaskFuncBase class. More... | |
class | TimeMeasure |
TimeMeasure class. More... | |
class | Timer |
Timer class. More... | |
class | TimeValue |
TimeValue class. More... | |
struct | timezone |
struct | Toupper |
Functor to convert to capital letters. More... | |
struct | unescape_functor |
Functor to unescape string. More... | |
struct | unique_strvec |
Functor to find string in a list. More... | |
struct | utsname |
class | UUID |
UUID value class. More... | |
class | UUID_Generator |
class | Winsock |
Typedefs | |
typedef ACE_DLL | DynamicLib |
typedef ACE_Get_Opt | GetOpt |
typedef unsigned int | ino_t |
typedef log_stream< char > | LogStream |
typedef log_streambuf< char > | LogStreamBuffer |
typedef ::pid_t | pid_t |
Get process ID of the caller process. | |
typedef HANDLE | pthread_mutex_t |
typedef ACE_Sig_Action | SignalAction |
typedef void(* | SignalHandler )(int) |
typedef struct coil::__sigset | sigset_t |
typedef ACE_Task< ACE_MT_SYNCH > | Task |
typedef ACE_utsname | utsname |
Get System information. | |
typedef ACE_Utils::UUID | UUID |
typedef std::vector< std::string > | vstring |
Functions | |
template<typename Object , typename Func > | |
Async_t< Object, Func > * | AsyncInvoker (Object *obj, Func func, bool auto_delete=false) |
Helper function for async member function summons. | |
template<typename Object , typename Func > | |
Async_ref_t< Object, Func > * | AsyncInvoker (Object *obj, Func *func, bool auto_delete=false) |
Helper function for async member function summons. | |
const char * | basename (const char *path) |
Get a file name part than a file pass. | |
int | closedir (DIR *dir) |
Close a directory stream. | |
unsigned short | crc16 (const char *str, size_t len) |
unsigned long | crc32 (const char *str, size_t len) |
CRC-32 calculation function. | |
template<class AbstractClass , class ConcreteClass > | |
AbstractClass * | Creator () |
Creator template. | |
int | daemon (int nochdir, int noclose) |
bool | dest_to_endpoint (std::string dest_addr, std::string &endpoint) |
Getting network interface name from destination address. | |
template<class AbstractClass , class ConcreteClass > | |
void | Destructor (AbstractClass *&obj) |
Destructor template. | |
const char * | dirname (const char *path) |
std::string | dirname (char *path) |
Get a directory part than a file pass. | |
void | eraseBlank (std::string &str) |
Erase blank characters of string. | |
void | eraseBothEndsBlank (std::string &str) |
Erase the head blank and the tail blank characters of string. | |
void | eraseHeadBlank (std::string &str) |
Erase the head blank characters of string. | |
void | eraseTailBlank (std::string &str) |
Erase the tail blank characters of string. | |
std::string | escape (const std::string str) |
Escape string. | |
coil::vstring | filelist (const char *path, const char *glob_str="") |
Get file list. | |
bool | find_dest_ifname (std::string dest_addr, std::string &dest_if) |
Getting network interface name from destination address. | |
std::string | flatten (vstring sv) |
Create CSV file from the given string list. | |
char * | getenv (const char *name) |
Get environment variable. | |
int | getlinePortable (std::istream &istr, std::string &line) |
Read a line from input stream. | |
static int | getopt (int nargc, char *const *nargv, const char *ostr) |
Function of parses the command line arguments. | |
pid_t | getpid () |
pid_t | getppid () |
Get process ID of the parent process. | |
int | gettimeofday (struct timeval *tv, struct timezone *tz) |
Get the time and timezone. | |
TimeValue | gettimeofday () |
Get the time. | |
bool | ifname_to_ipaddr (std::string ifname, std::string &ipaddr) |
Get IP address from a network interface name. | |
bool | includes (const vstring &list, std::string value, bool ignore_case) |
Include if a string is included in string list. | |
bool | includes (const std::string &list, std::string value, bool ignore_case) |
Include if a string is included in string list. | |
std::string | indent (int index) |
Create indents. | |
bool | isAbsolutePath (const std::string &str) |
Investigate whether the given string is absolute path or not. | |
bool | isEscaped (const std::string &str, std::string::size_type pos) |
Check whether the character is escaped or not. | |
bool | isURL (const std::string &str) |
Investigate whether the given string is URL or not. | |
int | launch_shell (std::string command) |
Launching a process. | |
const unsigned int | MaxPathLength (1024) |
std::string | normalize (std::string &str) |
Erase the head/tail blank and replace upper case to lower case. | |
DIR * | opendir (const char *name) |
Open a directory stream. | |
std::ostream & | operator<< (std::ostream &lhs, const Properties &rhs) |
Output Properties to stream. | |
template<class Printable > | |
std::string | otos (Printable n) |
Convert the given object to std::string. | |
static int | pthread_cond_init (pthread_cond_t *cv) |
dirent * | readdir (DIR *dir) |
Get a directory entry pointer. | |
unsigned int | replaceString (std::string &str, const std::string from, const std::string to) |
Replace string. | |
int | settimeofday (const struct timeval *tv, const struct timezone *tz) |
Set the time and timezone. | |
unsigned int | sleep (unsigned int seconds) |
Stop a processing at specified second time. | |
int | sleep (TimeValue &interval) |
int | sleep (TimeValue interval) |
Stop a processing at specified second time. | |
vstring | split (const std::string &input, const std::string &delimiter, bool ignore_empty) |
Split string by delimiter. | |
std::string | sprintf (char const *__restrict fmt,...) |
Convert it into a format given with an argumen. | |
std::wstring | string2wstring (std::string str) |
string to wstring conversion | |
template<typename To > | |
bool | stringTo (To &val, const char *str) |
Convert the given std::string to object. | |
template<> | |
bool | stringTo< std::string > (std::string &val, const char *str) |
Convert the given string to std::string. | |
char ** | toArgv (const vstring &args) |
Convert the given string list into the argument list. | |
bool | toBool (std::string str, std::string yes, std::string no, bool default_value) |
Convert given string into bool value. | |
void | toLower (std::string &str) |
Lowercase String Transformation. | |
void | toUpper (std::string &str) |
Uppercase String Transformation. | |
int | uname (utsname *name) |
Get System information. | |
std::string | unescape (const std::string str) |
Unescape string. | |
vstring | unique_sv (vstring sv) |
Eliminate duplication from the given string list. | |
int | usleep (useconds_t usec) |
Stop a processing at specified micro second time. | |
int | usleep (unsigned int usec) |
Stop a processing at specified micro second time. | |
std::string | wstring2string (std::wstring wstr) |
wstring to string conversion | |
Variables | |
static char * | optarg |
static int | opterr = 1 |
static int | optind = 1 |
static int | optopt |
static int | optreset |
Common Object Interface Layer.
typedef ACE_DLL coil::DynamicLib |
Definition at line 29 of file ace/coil/DynamicLib.h.
typedef ACE_Get_Opt coil::GetOpt |
Definition at line 53 of file ace/coil/OS.h.
typedef unsigned int coil::ino_t |
Definition at line 173 of file win32/coil/File.h.
typedef log_stream<char> coil::LogStream |
Definition at line 933 of file coil/common/Logger.h.
typedef log_streambuf<char> coil::LogStreamBuffer |
Definition at line 932 of file coil/common/Logger.h.
typedef int coil::pid_t |
Get process ID of the caller process.
Return a process ID of the caller process.
Definition at line 38 of file ace/coil/OS.h.
typedef HANDLE coil::pthread_mutex_t |
Definition at line 27 of file win32/coil/Mutex.h.
typedef ACE_Sig_Action coil::SignalAction |
Definition at line 34 of file ace/coil/Signal.h.
typedef void(* coil::SignalHandler)(int) |
Definition at line 35 of file ace/coil/Signal.h.
typedef struct coil::__sigset coil::sigset_t |
typedef ACE_Task<ACE_MT_SYNCH> coil::Task |
Definition at line 34 of file ace/coil/Task.h.
typedef::utsname coil::utsname |
Get System information.
Return a system information to a structure.
name | Name of structure |
Definition at line 32 of file ace/coil/OS.h.
typedef ACE_Utils::UUID coil::UUID |
Definition at line 36 of file ace/coil/UUID.h.
typedef std::vector<std::string> coil::vstring |
Definition at line 37 of file stringutil.h.
Async_t<Object, Func>* coil::AsyncInvoker | ( | Object * | obj, |
Func | func, | ||
bool | auto_delete = false |
||
) | [inline] |
Helper function for async member function summons.
Helper function for async member function summons.
obj | The target object for the asynchronous function. |
func | Asynchronous function. |
auto_delete | flag for automatic instance destruction. |
Async_ref_t<Object, Func>* coil::AsyncInvoker | ( | Object * | obj, |
Func * | func, | ||
bool | auto_delete = false |
||
) | [inline] |
Helper function for async member function summons.
Helper function for async member function summons.
obj | The target object for the asynchronous function. |
func | Asynchronous function. |
auto_delete | flag for automatic instance destruction. |
std::string coil::basename | ( | const char * | path | ) | [inline] |
Get a file name part than a file pass.
Get a directory part than a file pass.
path | File path |
Definition at line 33 of file ace/coil/File.h.
int coil::closedir | ( | DIR * | dir | ) |
Close a directory stream.
Close a directory stream.
dir | DIR Structure pointer |
Definition at line 341 of file win32/coil/File.h.
unsigned short coil::crc16 | ( | const char * | str, |
size_t | len | ||
) |
unsigned long coil::crc32 | ( | const char * | str, |
size_t | len | ||
) |
CRC-32 calculation function.
CRC type: RFC2083 Appendix 15 http://www.faqs.org/rfcs/rfc2083.html http://www.efg2.com/Lab/Mathematics/CRC.htm CRC polynomial: 0xedb88320L Initial value: 0xFFFFFFFF Output XOR: 0xFFFFFFFF Input bit inversion: None Output bit inversion: None Bit shift: right
CRC type: RFC2083 Appendix 15 http://www.faqs.org/rfcs/rfc2083.html http://www.efg2.com/Lab/Mathematics/CRC.htm CRC polynomial: 0xedb88320L Initial value: 0xFFFFFFFF Output XOR: 0xFFFFFFFF Input bit inversion: None Output bit inversion: None Bit shift: right
str | Data stream |
len | Data length |
AbstractClass* coil::Creator | ( | ) |
Creator template.
Definition at line 58 of file coil/common/Factory.h.
int coil::daemon | ( | int | nochdir, |
int | noclose | ||
) |
Definition at line 77 of file posix/coil/Process.cpp.
bool coil::dest_to_endpoint | ( | std::string | dest_addr, |
std::string & | endpoint | ||
) |
Getting network interface name from destination address.
This operation returns IP address of a endpoint to be used to communicate with the given destination address. IP address and FQDN hostname are available for the destination address dest_addr. If a destination address are reachable and an endpoint IP address is available, this operation returns true, and otherwise false.
dest_addr | a destination address or host name |
endpoint | a IP address of the endpoint to be used to communicate with the destination address |
Definition at line 39 of file posix/coil/Routing.cpp.
void coil::Destructor | ( | AbstractClass *& | obj | ) |
Destructor template.
Definition at line 75 of file coil/common/Factory.h.
const char* coil::dirname | ( | const char * | path | ) | [inline] |
Definition at line 28 of file ace/coil/File.h.
std::string coil::dirname | ( | char * | path | ) | [inline] |
Get a directory part than a file pass.
Get a directory part than a file pass.
path | File path |
Get a directory part than a file pass.
path | File path |
Definition at line 56 of file posix/coil/File.h.
void coil::eraseBlank | ( | std::string & | str | ) |
Erase blank characters of string.
Erase blank characters that exist at the head of the given string. Space ' 'and tab '\t' are supported as the blank character.
str | The target blank characters of string for the erase |
Definition at line 237 of file stringutil.cpp.
void coil::eraseBothEndsBlank | ( | std::string & | str | ) |
Erase the head blank and the tail blank characters of string.
Erase the head blank characters and the blank characters that exist at the tail of the given string. Space ' 'and tab '\t' are supported as the blank character.
str | The target tail blank characters of string for the erase |
Definition at line 290 of file stringutil.cpp.
void coil::eraseHeadBlank | ( | std::string & | str | ) |
Erase the head blank characters of string.
Erase the blank characters that exist at the head of the given string. Space ' 'and tab '\t' are supported as the blank character.
str | The target head blank characters of string for the erase |
Definition at line 262 of file stringutil.cpp.
void coil::eraseTailBlank | ( | std::string & | str | ) |
Erase the tail blank characters of string.
Erase the blank characters that exist at the tail of the given string. Space ' 'and tab '\t' are supported as the blank character.
str | The target tail blank characters of string for the erase |
Definition at line 275 of file stringutil.cpp.
std::string coil::escape | ( | const std::string | str | ) |
Escape string.
The following characters are converted.
HT -> "\t"
LF -> "\n"
CR -> "\r"
FF -> "\f"
Single quote and double quote are not processed.
str | The target string for the escape |
Definition at line 169 of file stringutil.cpp.
coil::vstring coil::filelist | ( | const char * | path, |
const char * | glob_str = "" |
||
) | [inline] |
Get file list.
Get a list matching a file designated than a directory path.
path | Directory path |
glob_str | File name |
Definition at line 120 of file posix/coil/File.h.
bool coil::find_dest_ifname | ( | std::string | dest_addr, |
std::string & | dest_if | ||
) |
Getting network interface name from destination address.
This operation returns network interface name to be used to communicate with the given destination address. IP address and FQDN hostname are available for the destination address dest_addr. Returned dest_if means the network interface name. If a destination address are reachable and network interface name is available, this operation returns true, and otherwise false.
dest_addr | a destination address or host name |
dest_if | a network interface name to be used to communicate with the destination address |
Definition at line 56 of file posix/coil/Routing.cpp.
std::string coil::flatten | ( | vstring | sv | ) |
Create CSV file from the given string list.
Create CSV that arranged each element of the character string list given by the argument. If the string list is empty, the null will be returned.
sv | The target string list for creating CSV |
Definition at line 549 of file stringutil.cpp.
char * coil::getenv | ( | const char * | name | ) | [inline] |
Get environment variable.
Return a environment variable.
name | Name of environment variable |
Definition at line 48 of file ace/coil/OS.h.
int coil::getlinePortable | ( | std::istream & | istr, |
std::string & | line | ||
) |
Read a line from input stream.
This function reads a line from input stream. UNIX, Windows or mixed line feed code is acceptable.
istr | The input stream. |
line | The output variable to store string to be read. |
Definition at line 94 of file stringutil.cpp.
static int coil::getopt | ( | int | nargc, |
char *const * | nargv, | ||
const char * | ostr | ||
) | [static] |
Function of parses the command line arguments.
Parses the command line arguments.
Definition at line 258 of file win32/coil/OS.h.
pid_t coil::getpid | ( | ) | [inline] |
Definition at line 39 of file ace/coil/OS.h.
pid_t coil::getppid | ( | ) | [inline] |
Get process ID of the parent process.
Return a process ID of the parent process.
Return a process ID of the parent process.
Definition at line 43 of file ace/coil/OS.h.
int coil::gettimeofday | ( | struct timeval * | tv, |
struct timezone * | tz | ||
) | [inline] |
Get the time and timezone.
Get the time and timezone
tv | Structure of time |
tz | Structure of timezone |
Get the time and timezone
tv | Structure of time |
tz | Structure of timezone |
Definition at line 57 of file ace/coil/Time.h.
TimeValue coil::gettimeofday | ( | ) | [inline] |
bool coil::ifname_to_ipaddr | ( | std::string | ifname, |
std::string & | ipaddr | ||
) |
Get IP address from a network interface name.
This operation returns IP address which is assigned with the given network interface. If IP address could be obtained from the network interface name, this operation returns true, otherwise false.
ifname | a network interface name |
ipaddr | IP address that is assigned to the network interface |
Definition at line 135 of file posix/coil/Routing.cpp.
bool coil::includes | ( | const vstring & | list, |
std::string | value, | ||
bool | ignore_case = true |
||
) |
Include if a string is included in string list.
if the second argument is included in the comma separated string list of the first argument, This operation returns "true value".
list | The target comma separated string |
value | The searched string |
Definition at line 432 of file stringutil.cpp.
bool coil::includes | ( | const std::string & | list, |
std::string | value, | ||
bool | ignore_case = true |
||
) |
Include if a string is included in string list.
if the second argument is included in the comma separated string list of the first argument, This operation returns "true value".
list | The target comma separated string |
value | The searched string |
Definition at line 452 of file stringutil.cpp.
std::string coil::indent | ( | int | index | ) |
Create indents.
Definition at line 795 of file Properties.cpp.
bool coil::isAbsolutePath | ( | const std::string & | str | ) |
Investigate whether the given string is absolute path or not.
Investigate whether the given string is absolute path or not. Investigate it as an absolute path, if the string is as follows:
str | The target string for the investigation |
Definition at line 465 of file stringutil.cpp.
bool coil::isEscaped | ( | const std::string & | str, |
std::string::size_type | pos | ||
) |
Check whether the character is escaped or not.
Check whether the specified character is escaped or not
str | The string that includes the character to be investigated. |
pos | The position of the character to be investigated. |
Definition at line 129 of file stringutil.cpp.
bool coil::isURL | ( | const std::string & | str | ) |
Investigate whether the given string is URL or not.
Investigate whether the given string is URL or not. When the string '://' is included in the given character string, make it of URL representation.
str | The target string for investigation |
Definition at line 484 of file stringutil.cpp.
int coil::launch_shell | ( | std::string | command | ) |
Launching a process.
This function launches a process. The argument is command file name be launched. The command will be searched according to the environment variable PATH of command search path. 0 will be returned if launching process is successful, and -1 will be returned if it is failed.
command | full path string to a command to be executed. |
Definition at line 41 of file posix/coil/Process.cpp.
const unsigned int coil::MaxPathLength | ( | 1024 | ) |
std::string coil::normalize | ( | std::string & | str | ) |
Erase the head/tail blank and replace upper case to lower case.
Erase the head blank characters and the blank characters that exist at the tail of the given string. Space ' 'and tab '\t' are supported as the blank character. And all upper case cahracters are converted into lower case.
str | The target string for the erase |
Definition at line 303 of file stringutil.cpp.
DIR* coil::opendir | ( | const char * | name | ) |
Open a directory stream.
Open a directory stream.
name | File path |
Definition at line 235 of file win32/coil/File.h.
std::ostream& coil::operator<< | ( | std::ostream & | lhs, |
const Properties & | rhs | ||
) |
Output Properties to stream.
Output Properties to stream.
lhs | Output stream |
rhs | Properties |
Definition at line 812 of file Properties.cpp.
std::string coil::otos | ( | Printable | n | ) |
Convert the given object to std::string.
Convert the object specified by the argument to string.
n | The target object for conversion |
Definition at line 566 of file stringutil.h.
static int coil::pthread_cond_init | ( | pthread_cond_t * | cv | ) | [static] |
Definition at line 54 of file win32/coil/Condition.h.
dirent* coil::readdir | ( | DIR * | dir | ) |
Get a directory entry pointer.
Get a directory entry pointer.
dir | DIR Structure pointer |
Definition at line 306 of file win32/coil/File.h.
unsigned int coil::replaceString | ( | std::string & | str, |
const std::string | from, | ||
const std::string | to | ||
) |
Replace string.
Replace the given string with the specified characters.
str | The target characters of string for replacement processing |
from | Characters of replacement source |
to | Characters of replacement destination |
Definition at line 317 of file stringutil.cpp.
int coil::settimeofday | ( | const struct timeval * | tv, |
const struct timezone * | tz | ||
) | [inline] |
Set the time and timezone.
Set the time and timezone
tv | Structure of time |
tz | Structure of timezone |
Set the time and timezone
tv | Structure of time |
tz | Structure of timezone |
Definition at line 75 of file ace/coil/Time.h.
unsigned int coil::sleep | ( | unsigned int | seconds | ) | [inline] |
Stop a processing at specified second time.
Stop a processing at specified second time.
seconds | Second time |
Stop a processing at specified second time.
seconds | Second time |
Definition at line 40 of file ace/coil/Time.h.
int coil::sleep | ( | TimeValue & | interval | ) | [inline] |
Definition at line 45 of file ace/coil/Time.h.
int coil::sleep | ( | TimeValue | interval | ) | [inline] |
Stop a processing at specified second time.
Stop a processing at specified second time.
interval | TimeValue object |
Stop a processing at specified second time.
interval | TimeValue object |
Definition at line 80 of file posix/coil/Time.h.
vstring coil::split | ( | const std::string & | input, |
const std::string & | delimiter, | ||
bool | ignore_empty = false |
||
) |
Split string by delimiter.
Split the set string by the given delimiter
input | The target characters of string for split |
delimiter | Split string (delimiter) |
Definition at line 341 of file stringutil.cpp.
std::string coil::sprintf | ( | char const *__restrict | fmt, |
... | |||
) |
Convert it into a format given with an argumen.
Convert it into a format given with an argument and return it.
fmt | Format |
Definition at line 593 of file stringutil.cpp.
std::wstring coil::string2wstring | ( | std::string | str | ) |
string to wstring conversion
This function convert from a string to a wstring.
str | The input std::string type string |
Definition at line 40 of file stringutil.cpp.
bool coil::stringTo | ( | To & | val, |
const char * | str | ||
) |
Convert the given std::string to object.
Convert string given by the argument to specified object.
val | The object of conversion destination |
str | String of conversion source |
Definition at line 597 of file stringutil.h.
bool coil::stringTo< std::string > | ( | std::string & | val, |
const char * | str | ||
) |
Convert the given string to std::string.
Convert string given by the argument to std::string.
val | String of conversion destination |
str | String of conversion source |
Definition at line 523 of file stringutil.cpp.
char ** coil::toArgv | ( | const vstring & | args | ) |
Convert the given string list into the argument list.
Convert the string list into the argument list by adding '\0' to each element at the end of the string list given by the argument
args | The target string list for conversion |
Definition at line 568 of file stringutil.cpp.
bool coil::toBool | ( | std::string | str, |
std::string | yes, | ||
std::string | no, | ||
bool | default_value = true |
||
) |
Convert given string into bool value.
Compare the specified string with the true representation string and the false representation string, and return the result as bool value. If it matches neither the true representation string nor the false representation string as a result of the comparison, the given default value will be return.
str | The target string for investigation |
yes | The true representation string |
no | The false representation string |
default_value | The default value (The default value:true) |
Definition at line 410 of file stringutil.cpp.
void coil::toLower | ( | std::string & | str | ) |
Lowercase String Transformation.
This function transforms a given string to lowercase letters
str | The input string |
Definition at line 81 of file stringutil.cpp.
void coil::toUpper | ( | std::string & | str | ) |
Uppercase String Transformation.
This function transforms a given string to uppercase letters
str | The input string |
Definition at line 68 of file stringutil.cpp.
int coil::uname | ( | utsname * | name | ) | [inline] |
Get System information.
Return a system information to a structure.
name | Name of structure |
Definition at line 33 of file ace/coil/OS.h.
std::string coil::unescape | ( | const std::string | str | ) |
Unescape string.
The following characters are converted.
"\t" -> HT
"\n" -> LF
"\r" -> CR
"\f" -> FF
"\"" -> "
"\'" -> '
Note: This is not complete inversion of the escape processing.
str | The target string for the unescape |
Definition at line 225 of file stringutil.cpp.
vstring coil::unique_sv | ( | vstring | sv | ) |
Eliminate duplication from the given string list.
Create a list of eliminating duplication from the string list given by the argument.
sv | The string list for confirmation source |
Definition at line 537 of file stringutil.cpp.
int coil::usleep | ( | useconds_t | usec | ) | [inline] |
Stop a processing at specified micro second time.
Stop a processing at specified micro second time.
usec | Micro second time |
Definition at line 51 of file ace/coil/Time.h.
int coil::usleep | ( | unsigned int | usec | ) | [inline] |
Stop a processing at specified micro second time.
Stop a processing at specified micro second time.
usec | Micro second time |
Definition at line 165 of file win32/coil/Time.h.
std::string coil::wstring2string | ( | std::wstring | wstr | ) |
wstring to string conversion
This function convert from a wstring to a string.
str | The input std::wstring type string |
Definition at line 54 of file stringutil.cpp.
char* coil::optarg [static] |
Definition at line 233 of file win32/coil/OS.h.
int coil::opterr = 1 [static] |
Definition at line 229 of file win32/coil/OS.h.
int coil::optind = 1 [static] |
Definition at line 230 of file win32/coil/OS.h.
int coil::optopt [static] |
Definition at line 230 of file win32/coil/OS.h.
int coil::optreset [static] |
Definition at line 230 of file win32/coil/OS.h.