Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

acsutilLL.h File Reference

Go to the source code of this file.

Defines

#define ACS_LLU   "%llu"
#define ACS_LLU_PRINTF(a)   a
#define ACS_LLU_SCANF(a)   a
#define ACS_LLU_MOD(a, b)   a%b

Functions

unsigned long long string2LLU (char *str)
char * LLU2String (unsigned long long)


Detailed Description

acsLL provides support for Unsigned Long Long:

Define Documentation

#define ACS_LLU   "%llu"
 

Macros ACS_LLU and ACS_LLU_PRINTF provide support for printing unsigned long long. Usage: ACE_OS::(f/s)printf ("Example :" ACS_LLU "\n", ACS_LLU_PRINTF(a));

#define ACS_LLU_MOD a,
 )     a%b
 

Macro for calculating modules.

#define ACS_LLU_PRINTF  )     a
 

#define ACS_LLU_SCANF  )     a
 

Macro ACS_LLU_SCANFF is used as ACS_LLU_PRINTF but in a scanf function and it provides support for unsigned long long. Usage: scanf (buf, "Example :" ACS_LLU , ACS_LLU_SCANF(a));


Function Documentation

char* LLU2String unsigned long  long  ) 
 

Converts from unsigned long long to a character string.

Parameters:
Unsigned long long value.
Returns:
Unsigned long long value in string format.

unsigned long long string2LLU char *  str  ) 
 

Converts from string to unsigned long long. Conversion function exists for platforms that support unsigned long long and for platforms that do not support unsigned long long.

Parameters:
str - string to be converted to unsigned long long


Generated on Thu Apr 30 02:32:49 2009 for ACS C++ API by doxygen 1.3.8