Esempio n. 1
0
 public Settings()
 {
     DateTimeType         = DateTimeType.Ticks;
     ThrowOnError         = true;
     OverrideExistingData = true;
     CharacterPaddingType = CharacterPaddingType.SPACEPAD;
     CharacterSetType     = CharacterSetType.UTF8;
     Version = 2.0f;
 }
Esempio n. 2
0
        internal static H5T.str_t GetCharacterPadding(CharacterPaddingType characterPaddingType)
        {
            switch (characterPaddingType)
            {
            case CharacterPaddingType.NULLTERM:
                return(H5T.str_t.NULLTERM);

            case CharacterPaddingType.NULLPAD:
                return(H5T.str_t.NULLPAD);

            case CharacterPaddingType.SPACEPAD:
                return(H5T.str_t.SPACEPAD);

            default:
                throw new ArgumentOutOfRangeException(nameof(characterPaddingType), characterPaddingType, null);
            }
        }
Esempio n. 3
0
 public Settings(DateTimeType dateTimeType, bool lowerCaseNaming, bool throwOnError, bool overrideExistingData, CharacterSetType characterSetType, CharacterPaddingType characterPaddingType) : this(dateTimeType, lowerCaseNaming, throwOnError, overrideExistingData)
 {
     CharacterPaddingType = characterPaddingType;
     CharacterSetType     = characterSetType;
 }