summaryrefslogtreecommitdiffstats
path: root/src/Node.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-01-29Fix PLIST_API definitionsGravatar Nikias Bassen1-0/+1
2023-01-16Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()Gravatar Nikias Bassen1-2/+2
This properly supports getting and setting signed or unsigned integer values. Also, a new helper function plist_int_val_is_negative() was added to determine if a given #PLIST_INT node has a negative value or not. The old type PLIST_UINT is defined as a macro with the value of PLIST_INT for backwards compatibility. This commit also adds int vs. uint support to the C++ interface, and the python bindings in a hopefully useful way.
2020-06-03c++: Switch to c++ headersGravatar Rosen Penev1-1/+1
[clang-tidy]Found with hicpp-deprecated-headers Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-03c++: Add closing namespace commentGravatar Rosen Penev1-1/+1
[clang-tidy] Found with google-readability-namespace-comments Signed-off-by: Rosen Penev <rosenp@gmail.com>
2015-12-07Node.cpp: let plist_t operations free _node when in a container.Gravatar Aaron Burghardt1-1/+6
Fixes libimobiledevice/libplist#50.
2014-09-20Change Clone() to be const, which required constructors with const ↵Gravatar Aaron Burghardt1-3/+3
references and a const GetValue().
2013-03-19C++: added support for PLIST_UID nodes (class Uid)Gravatar Nikias Bassen1-0/+7
2012-11-13C++ bindings: added support for PLIST_KEY nodes.Gravatar Nikias Bassen1-1/+8
2009-11-11Fix removal of the Utils class.Gravatar Jonathan Beck1-1/+0
2009-11-11Move some methods and drop Utils class in C++ binding.Gravatar Jonathan Beck1-0/+49
2009-11-10Remove wrongly exposed SetParent method.Gravatar Jonathan Beck1-15/+0
2009-10-28Format sources to ANSI style using AStyle (astyle --style=ansi).Gravatar Jonathan Beck1-34/+35
2009-10-28Unlink previous node in SetParent().Gravatar Jonathan Beck1-0/+11
2009-10-28Fix build for MSVC9.Gravatar Jonathan Beck1-1/+2
2009-10-26Add Set/Get Parent and a helper to create a Node from a plist_t.Gravatar Jonathan Beck1-3/+15
2009-10-16Fix Node lifecycle and change argument as reference to const reference.Gravatar Jonathan Beck1-17/+1
2009-10-13Add C++ binding.Gravatar Jonathan Beck1-0/+105