12 Commits

Author SHA1 Message Date
Nikias Bassen ed8a73301b C++: Add = operator to String class 2025-04-06 11:48:14 +02:00
guyingzhao 31f1a810e5 C++: Add const char* constructor to String class 2025-04-06 11:44:13 +02:00
guyingzhao 02be84957d C++: Fix String::GetValue memory leaking and suport assignment of const char* 2025-03-01 23:17:04 +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 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 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