unsigned NxsToken::DemandPositiveInt ( NxsToken token,
NxsString errormsg,
const char *  contextString 
) [static]

Advances the token, and returns the unsigned int that the token represents.

Sets errormsg and raises a NxsException on failure. `contextString` is used in error messages: "${contextString} must be a number greater than 0"

Definition at line 418 of file nxstoken.cpp.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:13 2010 for NCL by  doxygen 1.6.3