AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
An ordered set of all possible NTV2Line21Attributes permutations (excluding the "flashing" attribute, which is not required for glyph rendering). Call size() to discover how many there are. Call GetPermutation with an index >= 0 and < size() to get a specific attribute permutation. Call GetIndexFromAttribute to find out which permutation index corresponds to the given attribute. More...
#include <ntv2caption608types.h>
Public Member Functions | |
NTV2Line21AttributePermutations () | |
My constructor. More... | |
const NTV2Line21Attrs & | GetPermutation (const size_t inIndex) const |
Returns a const reference to the attribute that corresponds to the given permutation index. More... | |
ULWord | size (void) const |
Returns my size (the total number of attribute permutations that I have). More... | |
size_t | GetIndexFromAttribute (const NTV2Line21Attributes &inAttribute) const |
Returns the permutation index that corresponds to the given attribute. More... | |
const NTV2Line21Attrs & | operator[] (const size_t inIndex) const |
Returns a const reference to the attribute that corresponds to the given permutation index. More... | |
An ordered set of all possible NTV2Line21Attributes permutations (excluding the "flashing" attribute, which is not required for glyph rendering). Call size() to discover how many there are. Call GetPermutation with an index >= 0 and < size() to get a specific attribute permutation. Call GetIndexFromAttribute to find out which permutation index corresponds to the given attribute.
Definition at line 882 of file ntv2caption608types.h.
NTV2Line21AttributePermutations::NTV2Line21AttributePermutations | ( | ) |
My constructor.
size_t NTV2Line21AttributePermutations::GetIndexFromAttribute | ( | const NTV2Line21Attributes & | inAttribute | ) | const |
Returns the permutation index that corresponds to the given attribute.
[in] | inAttribute | The display attribute of interest. |
const NTV2Line21Attrs& NTV2Line21AttributePermutations::GetPermutation | ( | const size_t | inIndex | ) | const |
Returns a const reference to the attribute that corresponds to the given permutation index.
[in] | inIndex | Specifies the permutation index. Must be less than my size(). |
|
inline |
Returns a const reference to the attribute that corresponds to the given permutation index.
[in] | inIndex | Specifies the permutation index. Must be less than my size(). |
Definition at line 915 of file ntv2caption608types.h.
|
inline |
Returns my size (the total number of attribute permutations that I have).
Definition at line 901 of file ntv2caption608types.h.