icinga2/cib/host.h

24 lines
387 B
C
Raw Normal View History

#ifndef HOST_H
#define HOST_H
namespace icinga
{
class I2_ICINGA_API Host : public ConfigObjectAdapter
{
public:
Host(const ConfigObject::Ptr& configObject)
: ConfigObjectAdapter(configObject)
{ }
2012-06-30 13:39:55 +02:00
static bool Exists(const string& name);
static Host GetByName(const string& name);
2012-06-30 13:39:55 +02:00
string GetAlias(void) const;
Dictionary::Ptr GetGroups(void) const;
};
}
#endif /* HOST_H */