Make some methods public for ZString.

This commit is contained in:
Brad Arant 2024-02-16 11:28:44 -08:00
parent ab14fb3fcd
commit ce71aefaac

View File

@ -1,11 +1,11 @@
#ifndef __ZString_h__ #ifndef __ZString_h__
#define __ZString_h__ # define __ZString_h__
#include <ostream> # include <ostream>
#include <stack> # include <stack>
#include <string.h> # include <string.h>
#include <string> # include <string>
#include <vector> # include <vector>
namespace coreutils { namespace coreutils {
@ -370,7 +370,9 @@ namespace coreutils {
bool ifCRLF(); bool ifCRLF();
// void nextChar(); void nextChar();
bool boolValue();
protected: protected:
char *data; char *data;
@ -378,8 +380,6 @@ namespace coreutils {
size_t length; size_t length;
char *cdata = NULL; char *cdata = NULL;
std::vector<ZString> list; std::vector<ZString> list;
bool boolValue();
void nextChar();
private: private:
std::stack<char *> stack; std::stack<char *> stack;