Class Hierarchy   Class Index   Method Index  

CHMparseError.h

00001 //---------------------------------------------------------------------------
00002 // Module: CHMparseError
00003 //
00004 // Description:
00005 //
00006 // Enumeration of parse errors
00007 //---------------------------------------------------------------------------
00008 
00009 // Common file with debug macros for use in application
00010 #ifndef __CHM_PARSE_ERROR__
00011 #define __CHM_PARSE_ERROR__
00012 #include <CHM/CHMparseErrorEnum.h>
00013 
00014 typedef 
00015 enum CHMparseError
00016 {
00017    CHMpeRequiredFieldNotPresent      = CHM_DEF_peRequiredFieldNotPresent, 
00018    CHMpeRequiredSubFieldNotPresent   = CHM_DEF_peRequiredSubFieldNotPresent, 
00019    CHMpeRequiredSubSubFieldNotPresent= CHM_DEF_peRequiredSubSubFieldNotPresent, 
00020    CHMpeFieldMaxRepeatsExceeded     = CHM_DEF_peFieldMaxRepeatsExceeded, 
00021    CHMpeUnexpectedExtraFields       = CHM_DEF_peUnexpectedExtraFields,  
00022    CHMpeFieldMaxLengthExceeded      = CHM_DEF_peFieldMaxLengthExceeded,  
00023    CHMpeUnexpectedSegment           = CHM_DEF_peUnexpectedSegment,       
00024    CHMpeRequiredSegmentMissing      = CHM_DEF_peRequiredSegmentMissing,  
00025    CHMpeRequiredSegmentGroupMissing = CHM_DEF_peRequiredSegmentGroupMissing, 
00026    CHMpeUnexpectedTrailingSegments  = CHM_DEF_peUnexpectedTrailingSegments, 
00027    CHMpeBadEscapeSequence           = CHM_DEF_peBadEscapeSequence,          
00028    CHMpeNoSegmentIdentifier         = CHM_DEF_peNoSegmentIdentifier,        
00029    CHMpeBadIntegerFormat            = CHM_DEF_peBadIntegerFormat,        
00030    CHMpeBadDoubleFormat             = CHM_DEF_peBadDoubleFormat,        
00031    CHMpeBadDateTimeFormat           = CHM_DEF_peBadDateTimeFormat,
00032    CHMpeBadEnumFormat               = CHM_DEF_peBadEnumFormat        
00033 } CHMparseError;
00034 #endif // end of defensive include