@@ -1328,30 +1328,28 @@ extern OCIOEXPORT std::ostream & operator<< (std::ostream &, const FileRules &);
13281328
13291329
13301330
1331-
1332- // TODO: Move to .rst
1333- //
1334- // ViewingRules
1335- // ************
1336- // Viewing Rules allow config authors to filter the list of views an application should offer
1337- // based on the color space of an image. For example, a config may define a large number of
1338- // views but not all of them may be appropriate for use with all color spaces. E.g., some views
1339- // may be intended for use with scene-linear color space encodings and others with video color
1340- // space encodings.
1341- //
1342- // Each rule has a name key for applications to refer to the rule. Name values must be unique
1343- // (using case insensitive comparison). Viewing Rules may also have the following keys:
1344- //
1345- // * colorspaces: Either a single colorspace name or a list of names.
1346- //
1347- // * encodings: One or more strings to be found in the colorspace's encoding attribute.
1348- // Either this attribute or colorspaces must be present, but not both.
1349- //
1350- // * custom : Allows arbitrary key / value string pairs, similar to FileRules.
1351- //
1352- // Getters and setters are using the rule position, they will throw if the position is not
1353- // valid.
1354-
1331+ /* *
1332+ * ViewingRules
1333+ *
1334+ * Viewing Rules allow config authors to filter the list of views an application should offer
1335+ * based on the color space of an image. For example, a config may define a large number of
1336+ * views but not all of them may be appropriate for use with all color spaces. E.g., some views
1337+ * may be intended for use with scene-linear color space encodings and others with video color
1338+ * space encodings.
1339+ *
1340+ * Each rule has a name key for applications to refer to the rule. Name values must be unique
1341+ * (using case insensitive comparison). Viewing Rules may also have the following keys:
1342+ *
1343+ * * colorspaces: Either a single colorspace name or a list of names.
1344+ *
1345+ * * encodings: One or more strings to be found in the colorspace's encoding attribute.
1346+ * Either this attribute or colorspaces must be present, but not both.
1347+ *
1348+ * * custom : Allows arbitrary key / value string pairs, similar to FileRules.
1349+ *
1350+ * Getters and setters are using the rule position, they will throw if the position is not
1351+ * valid.
1352+ */
13551353class OCIOEXPORT ViewingRules
13561354{
13571355public:
0 commit comments