mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Allow Broxygen markup "##<" for more general use.
This commit is contained in:
parent
0b8b14a0ed
commit
3b91df8cf5
5 changed files with 32 additions and 8 deletions
|
@ -103,6 +103,20 @@ public:
|
|||
*/
|
||||
int LongestShortDescLen() const;
|
||||
|
||||
/**
|
||||
* Adds a reST documentation string to this BroDocObj's list.
|
||||
* @param s the documentation string to append.
|
||||
*/
|
||||
void AddDocString(const std::string& s)
|
||||
{
|
||||
if ( ! reST_doc_strings )
|
||||
reST_doc_strings = new std::list<std::string>();
|
||||
reST_doc_strings->push_back(s);
|
||||
FormulateShortDesc();
|
||||
}
|
||||
|
||||
static BroDocObj* last;
|
||||
|
||||
protected:
|
||||
std::list<std::string>* reST_doc_strings;
|
||||
std::list<std::string> short_desc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue