⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 variableenv.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- c-basic-offset: 4; related-file-name: "../../lib/variableenv.cc" -*-#ifndef CLICK_VARIABLEENVIRONMENT_HH#define CLICK_VARIABLEENVIRONMENT_HH#include <click/string.hh>#include <click/vector.hh>CLICK_DECLSclass VariableEnvironment { public:      VariableEnvironment()		{ }    VariableEnvironment(const VariableEnvironment &ve) { enter(ve); }    operator bool() const		{ return _formals.size() != 0; }    int depth() const			{ return _depths.size() ? _depths.back() : -1; }    void enter(const VariableEnvironment &);    void enter(const Vector<String> &formals, const Vector<String> &values, int depth);    void limit_depth(int);      String interpolate(const String &) const;  private:    Vector<String> _formals;    Vector<String> _values;    Vector<int> _depths;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -