aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-08 14:01:22 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-08 14:01:22 +0200
commitd8db22e6dda48fb58a807858f94cab4349d92d61 (patch)
treeaefe34dfe411d97bb2089fc1456b186a382ff25a
parent67214db30959788af713ab6e165dd3fc56fa6d2e (diff)
Update BitString definition
-rw-r--r--CSTA/user-information.go50
1 files changed, 25 insertions, 25 deletions
diff --git a/CSTA/user-information.go b/CSTA/user-information.go
index 45761b9..eb5c2d8 100644
--- a/CSTA/user-information.go
+++ b/CSTA/user-information.go
@@ -13,31 +13,31 @@ type ACSEUserInformationForCSTA struct {
}
}
-type CSTAVersion byte
+type CSTAVersion int
const (
- VersionOne CSTAVersion = iota // ECMA-180
- VersionTwo // ECMA-218
- VersionThree // ECMA-285, 1st Edition
- VersionFour // ISO/IEC 18952
- VersionFive // ECMA-285, 2nd Edition
- VersionSix // ECMA-323
- VersionSeven // ECMA-323, 2nd Edition
- VersionEight // ECMA-323, 3rd Edition
- VersionNine // ECMA-323, 4th Edition, Tag option
- VersionTen // ECMA-323, 4th Edition, short Tag option
- VersionEleven // ECMA-323, 4th Edition, dynamic transformation option
- VersionTwelve // ECMA-323, 5th Edition, Tag option
- VersionThirteen // ECMA-323, 5th Edition, short option
- VersionFourteen // ECMA-323, 5th Edition, dynamic transformation option
- VersionFifteen // ECMA-285, 3rd Edition
- VersionSixteen // ECMA-323, 6th Edition, Tag option
- VersionSeventeen // ECMA-323, 6th Edition, short Tag option
- VersionEighteen // ECMA-323, 6th Edition, dynamic transformatin option
- VersionNineteen // ECMA-285, 4th Edition
- VersionTwenty // Reserved for future use
- VersionTwentyone // Reserved for future use
- VersionTwentytwo // Reserved for future use
- VersionTwentythree // Reserved for future use
- VersionTwentyfour // Reserved for future use
+ VersionOne CSTAVersion = 1 << iota // ECMA-180
+ VersionTwo // ECMA-218
+ VersionThree // ECMA-285, 1st Edition
+ VersionFour // ISO/IEC 18952
+ VersionFive // ECMA-285, 2nd Edition
+ VersionSix // ECMA-323
+ VersionSeven // ECMA-323, 2nd Edition
+ VersionEight // ECMA-323, 3rd Edition
+ VersionNine // ECMA-323, 4th Edition, Tag option
+ VersionTen // ECMA-323, 4th Edition, short Tag option
+ VersionEleven // ECMA-323, 4th Edition, dynamic transformation option
+ VersionTwelve // ECMA-323, 5th Edition, Tag option
+ VersionThirteen // ECMA-323, 5th Edition, short option
+ VersionFourteen // ECMA-323, 5th Edition, dynamic transformation option
+ VersionFifteen // ECMA-285, 3rd Edition
+ VersionSixteen // ECMA-323, 6th Edition, Tag option
+ VersionSeventeen // ECMA-323, 6th Edition, short Tag option
+ VersionEighteen // ECMA-323, 6th Edition, dynamic transformatin option
+ VersionNineteen // ECMA-285, 4th Edition
+ VersionTwenty // Reserved for future use
+ VersionTwentyone // Reserved for future use
+ VersionTwentytwo // Reserved for future use
+ VersionTwentythree // Reserved for future use
+ VersionTwentyfour // Reserved for future use
)