summaryrefslogtreecommitdiff
path: root/src/value.cpp
Commit message (Collapse)AuthorAgeFilesLines
* feat: add numeric tag creation methods and corresponding tests for value ↵YongDo-Hyun9 days1-18/+1
| | | | | | assignments Signed-off-by: YongDo-Hyun <froster12@naver.com>
* fix: prevent widening of stored tag type in value assignment; update test ↵YongDo-Hyun9 days1-7/+2
| | | | | | output handling Signed-off-by: YongDo-Hyun <froster12@naver.com>
* feat: enhance error handling in ozlibstream and improve JSON escaping in ↵YongDo-Hyun9 days1-20/+21
| | | | | | json_formatter; add make_numeric_tag for cleaner tag creation Signed-off-by: YongDo-Hyun <froster12@naver.com>
* feat: add local test executable and improve JSON string escaping - Added ↵YongDo-Hyun9 days1-111/+69
| | | | | | option to build a local test executable for value assignments. - Enhanced JSON string formatting by escaping special characters. - Updated README with build instructions and prerequisites. - Modified .gitignore to include .vscode directory. - Added file read/write tests in format_test.cpp. - Refactored value assignment logic to reduce code duplication. Signed-off-by: YongDo-Hyun <froster12@naver.com>
* chore: comply with reuseDioEgizio2026-02-011-0/+4
| | | | Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
* Inline some methodsljfa-ag2015-08-231-49/+0
|
* Rename libnbt.h to nbt_tags.hljfa-ag2015-07-301-1/+1
| | | | Add missing forward declaration to tagfwd.h
* Add noexcept at some important placesljfa-ag2015-07-231-1/+1
|
* Implement and test list accessors for valueljfa-ag2015-07-121-0/+20
|
* Make value copyable (after all)ljfa-ag2015-07-071-5/+13
|
* Create copy and clone functions for value and tagljfa-ag2015-07-071-0/+5
|
* Fix conflicting overload of operator[]ljfa-ag2015-07-051-0/+5
|
* Make some value methods null-safeljfa-ag2015-07-041-10/+31
|
* Readd value constructor from tag&&ljfa-ag2015-07-031-0/+4
|
* Implement at and operator[] for valueljfa-ag2015-07-031-0/+15
|
* Create and implement get/set with tag for valueljfa-ag2015-07-031-1/+26
|
* Preliminarily implement primitive conversionljfa-ag2015-07-031-0/+234
| | | | needs to be done in a better way for sure
* Implement cast and assignment of string for valueljfa-ag2015-07-031-0/+16
|
* Add get/set_ptr and operator bool to valueljfa-ag2015-07-021-5/+19
|
* Create tag::assign methodljfa-ag2015-07-011-1/+3
| | | | Implement value::operator= in terms of it
* Change description of value::operator=ljfa-ag2015-07-011-4/+0
| | | | Remove value constructor from tag&&
* Partial implementation of valueljfa-ag2015-06-301-0/+60