EAInspector.html
---------------------------------------------------------------------
CLASS: EAInspector --DVM
PUBLIC METHODS:
error() - Returns any state errors. Should be called after
construction and after any fromISO() .
attrType() - Returns the value of the attrType field.
attrSubtype() - Returns the value of the attrSubtype field.
attrID() - Returns the String identifying the Attr.
AttrLen() - Returns the current length of the EA.
minAttrLen() - Returns the minimum length the EA may be set
to. NOTE that this is broken down into the
varying and fixed components, listed below, but is
also guaranteed to be a multiple of four bytes, in
order to meet the UDF requirements.
varyingLen() - Returns the number of bytes in the
variable-length field of the EA, if any.
fixedLen() - Returns the non-changing length associated with
the EA.
fromISO() - Translates the structure from its ISO
representation at the supplied byte pointer.
USAGE NOTES:
User notes go here.
----------------------------------------------------------------------
---------------------------------------------------------------------
METHOD: EAInspector::error --DVM
Returns any errors found in the current EA.
This checks for construction problems as well as attrLen
consistency problems, and returns the appropriate error code.
Unless it is compiled with _PICKY_EA_INSPECTOR_ defined, it allows
unknown EA types and EA subtypes to be handled without generating
an error. Note that unknown EAs are treated as growable (for
padding purposes) but not shrinkable -- That is, their minAttrLen
is always set equal to their attrLen. This approach makes the
implementation tolerant to future extensions to the format, etc.
However, if the _PICKY_EA_INSPECTOR_ is defined, an error will be
returned if the type or subtype fields of the EA are not
recognized. Note that this is an ISO test, rather than a UDF
test. This means that only EAs not conforming to ISO/IEC 13346
will generate this error. All UDF-defined EAs are defined as ISO
implementation use EAs, so even future ones will not generate
these errors.
RETURNS:
An Error object describing the problem.
PRE-CONDITIONS:
Performs meaningful checking if fromISO() has just been performed.
POST-CONDITIONS:
Nothing changes.
ERRORS:
error_None
error_Invalid_EA_length
(If compiled with -D_PICKY_EA_INSPECTOR_, the following are also
possible:)
error_Invalid_EA_type
error_Invalid_EA_subtype
NOTES:
----------------------------------------------------------------------
NSR::Error
NSR::FileTimesEA::error(void) const
NSR::Error
NSR::FreeEASpaceEA::error( void ) const
NSR::Error
NSR::MacVolumeInfoEA::error(void) const
NSR::Error
NSR::MacDirFinderInfoEA::error(void) const
NSR::Error
NSR::MacFileFinderInfoEA::error(void) const
NSR::Error
NSR::MacUniqueIDTableEA::error(void) const
NSR::Error
NSR::MacResourceForkEA::error(void) const
NSR::Error
NSR::NovellAttrEA::error( void ) const
NSR::Error
NSR::NovellRightsTable::error( void ) const
NSR::Error
NSR::NovellTrusteeEA::error( void ) const
NSR::Error
NSR::ICBTableEA::error( void ) const
NSR::Error
NSR::EAInspector::error( void ) const
NSR::Error
NSR::SearchEA::error( CONST_BYTE_PTR rbp ) const
---------------------------------------------------------------------
METHOD: EAInspector::fromISO --DVM
Translates the on-disk structure at the supplied address into its
in-core data members.
ARGS:
CONST_BYTE_PTR rbp IN Address where structure starts.
RETURNS:
none.
PRE-CONDITIONS:
POST-CONDITIONS:
List_postconditions (E.g., changes to class data members)
ERRORS:
error_
error_
error_
NOTES:
----------------------------------------------------------------------
void
NSR::EAPrefix::fromISO( CONST_BYTE_PTR rbp )
void
NSR::ImplEAPrefix::fromISO( CONST_BYTE_PTR rbp )
void
NSR::UDFEAPrefix::fromISO( CONST_BYTE_PTR rbp )
void
NSR::FileTimesEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::FreeEASpaceEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacVolumeInfoEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacPoint::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacRect::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacDInfo::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacDXInfo::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacFInfo::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacFXInfo::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacDirFinderInfoEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacFileFinderInfoEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::SmallAD::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacUniqueIDTableEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::MacResourceForkEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellAttrFlags::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellAttrEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellRights::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellRightsAssign::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellRightsTable::fromISO( CONST_BYTE_PTR rbp )
void
NSR::NovellTrusteeEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::ICBTableEA::fromISO( CONST_BYTE_PTR rbp )
void
NSR::EAInspector::fromISO( CONST_BYTE_PTR rbp )
void
NSR::SearchEA::fromISO( CONST_BYTE_PTR rbp )