Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00031
00032 #pragma once
00033
00034 #include "../api_core.h"
00035 #include "dom_node.h"
00036
00045 class CL_API_CORE CL_DomCharacterData : public CL_DomNode
00046 {
00049
00050 public:
00052 CL_DomCharacterData();
00053
00057 CL_DomCharacterData(const CL_SharedPtr<CL_DomNode_Generic> &impl);
00058
00059 ~CL_DomCharacterData();
00060
00064
00065 public:
00067
00068 unsigned long get_length();
00069
00073
00074 public:
00080 CL_DomString substring_data(unsigned long offset, unsigned long count);
00081
00083 void append_data(const CL_DomString &arg);
00084
00089 void insert_data(unsigned long offset, const CL_DomString &arg);
00090
00095 void delete_data(unsigned long offset, unsigned long count);
00096
00102 void replace_data(unsigned long offset, unsigned long count, const CL_DomString &arg);
00103
00107
00108 protected:
00109
00114 CL_DomCharacterData(CL_DomDocument &doc, unsigned short node_type);
00116 };
00117