mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace zeek::threading::formatter {
|
||||
|
||||
class Ascii final : public zeek::threading::Formatter {
|
||||
class Ascii final : public Formatter {
|
||||
public:
|
||||
/**
|
||||
* A struct to pass the necessary configuration values to the
|
||||
|
@ -44,14 +44,14 @@ public:
|
|||
* @param info SeparatorInfo structure defining the necessary
|
||||
* separators.
|
||||
*/
|
||||
Ascii(zeek::threading::MsgThread* t, const SeparatorInfo& info);
|
||||
Ascii(MsgThread* t, const SeparatorInfo& info);
|
||||
virtual ~Ascii();
|
||||
|
||||
virtual bool Describe(zeek::ODesc* desc, zeek::threading::Value* val, const std::string& name = "") const;
|
||||
virtual bool Describe(zeek::ODesc* desc, int num_fields, const zeek::threading::Field* const * fields,
|
||||
zeek::threading::Value** vals) const;
|
||||
virtual zeek::threading::Value* ParseValue(const std::string& s, const std::string& name,
|
||||
zeek::TypeTag type, zeek::TypeTag subtype = zeek::TYPE_ERROR) const;
|
||||
virtual bool Describe(ODesc* desc, Value* val, const std::string& name = "") const;
|
||||
virtual bool Describe(ODesc* desc, int num_fields, const Field* const * fields,
|
||||
Value** vals) const;
|
||||
virtual Value* ParseValue(const std::string& s, const std::string& name,
|
||||
TypeTag type, TypeTag subtype = TYPE_ERROR) const;
|
||||
|
||||
private:
|
||||
bool CheckNumberError(const char* start, const char* end) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue