18 Commits

Author SHA1 Message Date
guyingzhao 1aae1e5b7d C++: Add f/Front() and b/Back() to Array to access first/last element 2025-04-06 12:37:05 +02:00
guyingzhao e6f3c6c621 C++: Array: Add const Node& variants to Append, Insert 2025-04-06 12:18:23 +02:00
guyingzhao d40f03e409 C++: Add more convenience functions to the interface 2025-03-01 23:42:06 +01:00
Nikias Bassen 7b94db8122 Remove unnecessary const to silence compiler warning 2023-04-21 15:44:20 +02:00
Nikias Bassen 12c45a21b4 C++: Add dictionary and array size method
Thanks @Cryptiiiic for the contribution.
2023-04-21 12:16:55 +02:00
Daniel c2f396a537 Add lowercase begin/end iterator functions
... for Dictionary and Array
2023-02-03 00:26:19 +01:00
Daniel cbb43d790d Add PList::Array iterator member functions
... returning both iterators and const_iterators:
* PList::Array::Begin()
* PList::Array::End()
2023-02-03 00:26:19 +01:00
Rosen Penev 8c7e258e80 [clang-tidy] cpp: Turn reference operators to const
Found with cppcoreguidelines-c-copy-assignment-signature

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-22 01:18:28 +02:00
Aaron Burghardt b6c43e901c Added const to Array.GetSize(), and to 3 Node methods. 2014-09-20 00:10:46 +02:00
Aaron Burghardt ccd6f05fe1 Change Clone() to be const, which required constructors with const references and a const GetValue(). 2014-09-20 00:10:46 +02:00
Nikias Bassen 83650b30ad Properly rename header guards according to C++ standard 2014-08-06 01:42:46 +02:00
Jonathan Beck 84596548e5 Add GetNodeIdex and GetNodeKey methods. 2009-11-04 20:21:54 +01:00
Jonathan Beck 6710f4bfb9 Format sources to ANSI style using AStyle (astyle --style=ansi). 2009-10-28 18:31:34 +01:00
Jonathan Beck c1363bea10 Add Set/Get Parent and a helper to create a Node from a plist_t. 2009-10-26 18:41:15 +01:00
Jonathan Beck 5b1c3aea5e prefix headers #ifndef with PLIST__ to make them less common. 2009-10-19 19:56:10 +02:00
Jonathan Beck 32be8ec384 Fix Node lifecycle and change argument as reference to const reference. 2009-10-16 22:26:13 +02:00
Jonathan Beck 8186a9d371 Fix various mistakes in C++ bindings. 2009-10-15 19:28:30 +02:00
Jonathan Beck a922b714c9 Add C++ binding. 2009-10-13 20:04:06 +02:00