Lines Matching refs:VERSIONS

25 CFX_PtrArray* CBC_DataMatrixVersion::VERSIONS = NULL;  member in CBC_DataMatrixVersion
27 VERSIONS = new CFX_PtrArray(); in Initialize()
30 for (int32_t i = 0; i < VERSIONS->GetSize(); i++) { in Finalize()
31 delete ((CBC_DataMatrixVersion*)(VERSIONS->GetAt(i))); in Finalize()
33 VERSIONS->RemoveAll(); in Finalize()
34 delete VERSIONS; in Finalize()
85 for (int32_t i = 0; i < VERSIONS->GetSize(); i++) { in ReleaseAll()
86 delete (CBC_DataMatrixVersion*)VERSIONS->GetAt(i); in ReleaseAll()
88 VERSIONS->RemoveAll(); in ReleaseAll()
98 if (VERSIONS->GetSize() == 0) { in GetVersionForDimensions()
99 VERSIONS->Add(new CBC_DataMatrixVersion(1, 10, 10, 8, 8, in GetVersionForDimensions()
101 VERSIONS->Add(new CBC_DataMatrixVersion(2, 12, 12, 10, 10, in GetVersionForDimensions()
103 VERSIONS->Add(new CBC_DataMatrixVersion(3, 14, 14, 12, 12, in GetVersionForDimensions()
105 VERSIONS->Add(new CBC_DataMatrixVersion(4, 16, 16, 14, 14, in GetVersionForDimensions()
107 VERSIONS->Add(new CBC_DataMatrixVersion(5, 18, 18, 16, 16, in GetVersionForDimensions()
109 VERSIONS->Add(new CBC_DataMatrixVersion(6, 20, 20, 18, 18, in GetVersionForDimensions()
111 VERSIONS->Add(new CBC_DataMatrixVersion(7, 22, 22, 20, 20, in GetVersionForDimensions()
113 VERSIONS->Add(new CBC_DataMatrixVersion(8, 24, 24, 22, 22, in GetVersionForDimensions()
115 VERSIONS->Add(new CBC_DataMatrixVersion(9, 26, 26, 24, 24, in GetVersionForDimensions()
117 VERSIONS->Add(new CBC_DataMatrixVersion(10, 32, 32, 14, 14, in GetVersionForDimensions()
119 VERSIONS->Add(new CBC_DataMatrixVersion(11, 36, 36, 16, 16, in GetVersionForDimensions()
121 VERSIONS->Add(new CBC_DataMatrixVersion(12, 40, 40, 18, 18, in GetVersionForDimensions()
123 VERSIONS->Add(new CBC_DataMatrixVersion(13, 44, 44, 20, 20, in GetVersionForDimensions()
125 VERSIONS->Add(new CBC_DataMatrixVersion(14, 48, 48, 22, 22, in GetVersionForDimensions()
127 VERSIONS->Add(new CBC_DataMatrixVersion(15, 52, 52, 24, 24, in GetVersionForDimensions()
129 VERSIONS->Add(new CBC_DataMatrixVersion(16, 64, 64, 14, 14, in GetVersionForDimensions()
131 VERSIONS->Add(new CBC_DataMatrixVersion(17, 72, 72, 16, 16, in GetVersionForDimensions()
133 VERSIONS->Add(new CBC_DataMatrixVersion(18, 80, 80, 18, 18, in GetVersionForDimensions()
135 VERSIONS->Add(new CBC_DataMatrixVersion(19, 88, 88, 20, 20, in GetVersionForDimensions()
137 VERSIONS->Add(new CBC_DataMatrixVersion(20, 96, 96, 22, 22, in GetVersionForDimensions()
139 VERSIONS->Add(new CBC_DataMatrixVersion(21, 104, 104, 24, 24, in GetVersionForDimensions()
141 VERSIONS->Add(new CBC_DataMatrixVersion(22, 120, 120, 18, 18, in GetVersionForDimensions()
143 VERSIONS->Add(new CBC_DataMatrixVersion(23, 132, 132, 20, 20, in GetVersionForDimensions()
145 VERSIONS->Add(new CBC_DataMatrixVersion( in GetVersionForDimensions()
148 VERSIONS->Add(new CBC_DataMatrixVersion(25, 8, 18, 6, 16, in GetVersionForDimensions()
150 VERSIONS->Add(new CBC_DataMatrixVersion(26, 8, 32, 6, 14, in GetVersionForDimensions()
152 VERSIONS->Add(new CBC_DataMatrixVersion(27, 12, 26, 10, 24, in GetVersionForDimensions()
154 VERSIONS->Add(new CBC_DataMatrixVersion(28, 12, 36, 10, 16, in GetVersionForDimensions()
156 VERSIONS->Add(new CBC_DataMatrixVersion(29, 16, 36, 14, 16, in GetVersionForDimensions()
158 VERSIONS->Add(new CBC_DataMatrixVersion(30, 16, 48, 14, 22, in GetVersionForDimensions()
161 int32_t numVersions = VERSIONS->GetSize(); in GetVersionForDimensions()
163 if (((CBC_DataMatrixVersion*)((*VERSIONS)[i]))->m_symbolSizeRows == in GetVersionForDimensions()
165 ((CBC_DataMatrixVersion*)((*VERSIONS)[i]))->m_symbolSizeColumns == in GetVersionForDimensions()
167 return (CBC_DataMatrixVersion*)(*VERSIONS)[i]; in GetVersionForDimensions()