@@ -133,49 +133,49 @@ namespace Rejistry {
133133
134134 /* *
135135 * Interprets the cell data as an VKRecord and returns it.
136- * @returns Pointer to an VKRecord object.
136+ * @returns Pointer to an VKRecord object. (Caller must free using delete)
137137 * @throws RegistryParseException
138138 */
139139 VKRecord::VKRecordPtr getVKRecord () const ;
140140
141141 /* *
142142 * Interprets the cell data as an LFRecord and returns it.
143- * @returns Pointer to an LFRecord object.
143+ * @returns Unique pointer to an LFRecord object.
144144 * @throws RegistryParseException
145145 */
146146 SubkeyListRecord::SubkeyListRecordPtr getLFRecord () const ;
147147
148148 /* *
149149 * Interprets the cell data as an LHRecord and returns it.
150- * @returns Pointer to an LHRecord object.
150+ * @returns Unique pointer to an LHRecord object.
151151 * @throws RegistryParseException
152152 */
153153 SubkeyListRecord::SubkeyListRecordPtr getLHRecord () const ;
154154
155155 /* *
156156 * Interprets the cell data as an RIRecord and returns it.
157- * @returns Pointer to an RIRecord object.
157+ * @returns Unique pointer to an RIRecord object.
158158 * @throws RegistryParseException
159159 */
160160 SubkeyListRecord::SubkeyListRecordPtr getRIRecord () const ;
161161
162162 /* *
163163 * Interprets the cell data as an LIRecord and returns it.
164- * @returns Pointer to an LIRecord object.
164+ * @returns Unique pointer to an LIRecord object.
165165 * @throws RegistryParseException
166166 */
167- LIRecord::LIRecordPtr getLIRecord () const ;
167+ SubkeyListRecord::SubkeyListRecordPtr getLIRecord () const ;
168168
169169 /* *
170170 * Interprets the cell data as an DBRecord and returns it.
171- * @returns Pointer to an DBRecord object.
171+ * @returns Unique pointer to an DBRecord object.
172172 * @throws RegistryParseException
173173 */
174174 DBRecord::DBRecordPtr getDBRecord () const ;
175175
176176 /* *
177177 * Interprets the cell data as an DBIndirectRecord and returns it.
178- * @returns Pointer to an DBIndirectRecord object.
178+ * @returns Unique pointer to an DBIndirectRecord object.
179179 * @throws RegistryParseException
180180 */
181181 DBIndirectRecord::DBIndirectRecordPtr getDBIndirectRecord () const ;
@@ -184,15 +184,14 @@ namespace Rejistry {
184184 * Interprets the cell data as an ValueListRecord and returns it.
185185 * @param numValues The number of values the value list should attempt
186186 * to parse.
187- * @returns Pointer to an ValueListRecord object. The caller is responsible
188- * for freeing the returned record.
187+ * @returns Unique pointer to a ValueListRecord object.
189188 * @throws RegistryParseException
190189 */
191190 ValueListRecord::ValueListRecordPtr getValueListRecord (const uint32_t numValues) const ;
192191
193192 /* *
194193 * Interprets the cell data as a SubkeyList and returns it.
195- * @returns Pointer to an SubkeyList object.
194+ * @returns Unique pointer to an SubkeyList object (do not need to free)
196195 * @throws RegistryParseException
197196 */
198197 SubkeyListRecord::SubkeyListRecordPtr getSubkeyList () const ;
0 commit comments