GaiaXHarmony/GaiaXAnalyze/GXAnalyzeCore/GXATSNode.h (19 lines of code) (raw):
/*
* Copyright (c) 2021, Alibaba Group Holding Limited;
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _ATSNODE__H_
#define _ATSNODE__H_
#include <string>
#include <iostream>
using namespace std;
class GXATSNode {
public:
GXATSNode(); //无参构造函数
GXATSNode(string name, string detail, string token); //有参构造函数
GXATSNode(string name, string detail, string token,int count); //有参构造函数
~GXATSNode(); //析构函数
GXATSNode &operator=(const GXATSNode &node);
string name; //字段
string token; //类型
string detail;
int count;
private:
};
#endif /*include _ATSNODE__H_*/