MCPcopy Create free account
hub / github.com/Icinga/icinga2 / AuthorAccessor

Method AuthorAccessor

lib/livestatus/commentstable.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86Value CommentsTable::AuthorAccessor(const Value& row)
87{
88 Comment::Ptr comment = static_cast<Comment::Ptr>(row);
89
90 if (!comment)
91 return Empty;
92
93 return comment->GetAuthor();
94}
95
96Value CommentsTable::CommentAccessor(const Value& row)
97{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected