Capabilities.cpp File Reference

#include "ace/Capabilities.h"
#include "ace/os_include/os_ctype.h"
#include "ace/OS_Memory.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"

Include dependency graph for Capabilities.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define ACE_ESC   ((ACE_TCHAR)0x1b)

Functions

int is_empty (const ACE_TCHAR *line)
int is_line (const ACE_TCHAR *line)


Define Documentation

#define ACE_ESC   ((ACE_TCHAR)0x1b)
 

Definition at line 17 of file Capabilities.cpp.

Referenced by ACE_Capabilities::parse().


Function Documentation

int is_empty const ACE_TCHAR line  )  [static]
 

Definition at line 293 of file Capabilities.cpp.

References ACE_LIB_TEXT, and ACE_TCHAR.

Referenced by ACE_Capabilities::getent(), ACE_Timer_Wheel_T< TYPE, FUNCTOR, ACE_LOCK >::recalc_earliest(), and ACE_Timer_Wheel_T< TYPE, FUNCTOR, ACE_LOCK >::schedule_i().

00294 {
00295   while (*line && isspace (*line))
00296     ++line;
00297 
00298   return *line == ACE_LIB_TEXT ('\0') || *line == ACE_LIB_TEXT ('#');
00299 }

int is_line const ACE_TCHAR line  )  [static]
 

Definition at line 302 of file Capabilities.cpp.

References ACE_LIB_TEXT, and ACE_TCHAR.

Referenced by ACE_Capabilities::getent().

00303 {
00304   while (*line && isspace (*line))
00305     ++line;
00306 
00307   return *line != ACE_LIB_TEXT ('\0');
00308 }


Generated on Thu Nov 9 09:59:39 2006 for ACE by doxygen 1.3.6