Пример #1
0
 /**
  * Extract the detailed file type from a #FiosType.
  * @param fios_type Type to query.
  * @return The Detailed file type of the \a fios_type.
  */
 //inline
 public static DetailedFileType GetDetailedFileType(this FiosType fios_type)
 {
     return((DetailedFileType)((int)fios_type >> (int)AbstractFileType.FT_NUMBITS));
 }
Пример #2
0
 /**
  * Extract the abstract file type from a #FiosType.
  * @param fios_type Type to query.
  * @return The Abstract file type of the \a fios_type.
  */
 //inline
 public static AbstractFileType GetAbstractFileType(this FiosType fios_type)
 {
     return((AbstractFileType)((int)fios_type & (int)AbstractFileType.FT_MASK));
 }