readme
来自「一百个病毒的源代码 包括熊猫烧香等 极其具有研究价值」· 代码 · 共 43 行
TXT
43 行
******************NOTE: Consult the manpage for info on using bk2siteIf you dont want to install the manpage just do:groff -man -Tascii bk2site.1*****************Programmer's guide: (classes are in "quotes")bk2site.CThe main(). Reads and parses the .bk2siterc files.reference.CThe bookmarks are converted into a "referenTree" object. A referenceTree contains a vector of "reference". A reference object is either a url(leaf) or a folder (non-leaf). references that are folders have apointer (children) to a referenceTree which contains all theirchildren.element.CAn "element" represents one of the begin--end blocks found in the basefiles. A "fileview" contains all the elements in some base file. Afileview object is given some channels and other vector<reference> and can output the html file.Its the model-view-controller pattern:referenceTree is the model.fileview is the viewno controller.iwebstream.C Is given an url and provides a single interface for reading fromit. Handles files and http. It also does some SGML-type-tag parsing.channel.CA "channel" simply stores the parsed channel file, its avector<reference>. A "channelContainer" has a vector<channel>.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?