1
1
/* \
2
+ *
2
3
* @file
3
4
* @version 1.0
4
5
* @author tobozo <[email protected] >
@@ -63,10 +64,10 @@ namespace YAML
63
64
64
65
65
66
/* \
66
- * @brief Confirm a string only contains one given char
67
- *
68
- * setJSONIndent helper, checks if haystack
69
- * is filled with needle.
67
+ * @brief Confirm a string only contains one given char
68
+ *
69
+ * setJSONIndent helper, checks if haystack
70
+ * is filled with needle.
70
71
\*/
71
72
bool is_filled_with ( char needle, const char * haystack )
72
73
{
@@ -421,10 +422,10 @@ namespace YAML
421
422
422
423
423
424
/* \
424
- * @brief YAML document copier
425
- *
426
- * Creates a copy of a given document.
427
- *
425
+ * @brief YAML document copier
426
+ *
427
+ * Creates a copy of a given document.
428
+ *
428
429
\*/
429
430
int yaml_copy_document (yaml_document_t *dest, yaml_document_t *src)
430
431
{
@@ -550,8 +551,8 @@ namespace YAML
550
551
551
552
552
553
/* \
553
- * @brief Get the node type
554
- *
554
+ * @brief Get the node type
555
+ *
555
556
\*/
556
557
YAMLNode::Type YAMLNode::type () const
557
558
{
@@ -572,8 +573,8 @@ namespace YAML
572
573
573
574
574
575
/* \
575
- * @brief Get scalar value
576
- *
576
+ * @brief Get scalar value
577
+ *
577
578
\*/
578
579
const char * YAMLNode::scalar () const
579
580
{
@@ -585,8 +586,8 @@ namespace YAML
585
586
586
587
587
588
/* \
588
- * @brief Node Accessor (sequence)
589
- *
589
+ * @brief Node Accessor (sequence)
590
+ *
590
591
\*/
591
592
YAMLNode YAMLNode::operator [] ( int i ) const
592
593
{
@@ -605,8 +606,8 @@ namespace YAML
605
606
606
607
607
608
/* \
608
- * @brief Node Accessor (map)
609
- *
609
+ * @brief Node Accessor (map)
610
+ *
610
611
\*/
611
612
YAMLNode YAMLNode::operator [] ( const char *str ) const
612
613
{
@@ -632,8 +633,8 @@ namespace YAML
632
633
633
634
634
635
/* \
635
- * @brief Node size
636
- *
636
+ * @brief Node size
637
+ *
637
638
\*/
638
639
size_t YAMLNode::size () const
639
640
{
@@ -657,10 +658,10 @@ namespace YAML
657
658
658
659
659
660
/* \
660
- * @brief YAML String loader
661
- *
662
- * Note: this is a static method
663
- *
661
+ * @brief YAML String loader
662
+ *
663
+ * Note: this is a static method
664
+ *
664
665
\*/
665
666
YAMLNode YAMLNode::loadString ( const char *str )
666
667
{
@@ -670,10 +671,10 @@ namespace YAML
670
671
671
672
672
673
/* \
673
- * @brief YAML String loader
674
- *
675
- * Note: this is a static method
676
- *
674
+ * @brief YAML String loader
675
+ *
676
+ * Note: this is a static method
677
+ *
677
678
\*/
678
679
YAMLNode YAMLNode::loadString ( const char *str, size_t len )
679
680
{
@@ -699,10 +700,10 @@ namespace YAML
699
700
700
701
701
702
/* \
702
- * @brief YAML Stream loader (stream handler data)
703
- *
704
- * Note: this is a static method
705
- *
703
+ * @brief YAML Stream loader (stream handler data)
704
+ *
705
+ * Note: this is a static method
706
+ *
706
707
\*/
707
708
YAMLNode YAMLNode::loadStream ( yaml_stream_handler_data_t &shd )
708
709
{
@@ -729,10 +730,10 @@ namespace YAML
729
730
730
731
731
732
/* \
732
- * @brief YAML Stream loader (basic stream)
733
- *
734
- * Note: this is a static method
735
- *
733
+ * @brief YAML Stream loader (basic stream)
734
+ *
735
+ * Note: this is a static method
736
+ *
736
737
\*/
737
738
YAMLNode YAMLNode::loadStream ( Stream &stream )
738
739
{
@@ -743,10 +744,10 @@ namespace YAML
743
744
744
745
745
746
/* \
746
- * @brief l10n style gettext
747
- *
748
- * L10N: Return localized string when given a path e.g. 'blah:some:property:count:1'
749
- *
747
+ * @brief l10n style gettext
748
+ *
749
+ * L10N: Return localized string when given a path e.g. 'blah:some:property:count:1'
750
+ *
750
751
\*/
751
752
const char * YAMLNode::gettext ( const char * path, char delimiter)
752
753
{
@@ -799,8 +800,8 @@ namespace YAML
799
800
800
801
801
802
/* \
802
- * @brief Parser error handler
803
- *
803
+ * @brief Parser error handler
804
+ *
804
805
\*/
805
806
void YAMLNode::handle_parser_error (yaml_parser_t *p)
806
807
{
@@ -830,8 +831,8 @@ namespace YAML
830
831
831
832
832
833
/* \
833
- * @brief Emitter error handler
834
- *
834
+ * @brief Emitter error handler
835
+ *
835
836
\*/
836
837
void YAMLNode::handle_emitter_error (yaml_emitter_t *e)
837
838
{
@@ -845,10 +846,10 @@ namespace YAML
845
846
846
847
847
848
/* \
848
- * @brief yaml_document_t traverser (not really a deconstructor)
849
- *
850
- * Output format: JSON
851
- *
849
+ * @brief yaml_document_t traverser (not really a deconstructor)
850
+ *
851
+ * Output format: JSON
852
+ *
852
853
\*/
853
854
size_t YAMLNode::toJSON ( yaml_traverser_t *it )
854
855
{
@@ -925,10 +926,10 @@ namespace YAML
925
926
926
927
927
928
/* \
928
- * @brief yaml_document_t traverser (not really a deconstructor)
929
- *
930
- * Output format: YAML
931
- *
929
+ * @brief yaml_document_t traverser (not really a deconstructor)
930
+ *
931
+ * Output format: YAML
932
+ *
932
933
\*/
933
934
size_t YAMLNode::toYAML ( yaml_traverser_t *it )
934
935
{
0 commit comments