#include "config.h"#include "Attr.h"#include "Expr.h"#include "Serializer.h"Include dependency graph for Attr.cc:

Go to the source code of this file.
Functions | |
| const char * | attr_name (attr_tag t) |
| IMPLEMENT_SERIAL (Attributes, SER_ATTRIBUTES) | |
|
|
Definition at line 28 of file Attr.cc. References int, and NUM_ATTRS. Referenced by Attr::AddTag().
00029 {
00030 static const char* attr_names[int(NUM_ATTRS)] = {
00031 "&optional", "&default", "&redef",
00032 "&rotate_interval", "&rotate_size",
00033 "&add_func", "&delete_func", "&expire_func",
00034 "&read_expire", "&write_expire", "&create_expire",
00035 "&persistent", "&postprocessor", "&encrypt",
00036 "&match",
00037 };
00038
00039 return attr_names[int(t)];
00040 }
|
|
||||||||||||
|
|
1.3.5