The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ValidNonNullString
extern SE_Boolean
SE_ValidNonNullString
(
constSE_String *value_ptr, (notes)
SE_Boolean print_error, (notes)
SE_Integer_Unsigned *error_count_ptr (notes)
);

Definition

Checks that the given SE_String is valid and contains a non-empty string.


Returns

SE_TRUE if value_ptr is non-NULL and *value_ptr contains valid information
SE_FALSE otherwise


Parameters Notes


value_ptr

 pointer to SE_String, the contents of which are to be checked

print_error

 whether to print error messages

error_count_ptr

 pointer to a variable in which the error count for
 this SE_String is stored; if NULL, no counting is performed


Prev: SE_ValidMultiplicity. Next: SE_ValidOctant. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS