Home | History | Annotate | Download | only in shill

Lines Matching defs:DhcpProperties

40 static string ObjectID(const DhcpProperties* d) { return "(dhcp_properties)"; }
45 // Prefix used for DhcpProperties in the PropertyStore.
48 const char* kPropertyNames[] = {DhcpProperties::kHostnameProperty,
49 DhcpProperties::kVendorClassProperty};
57 const char DhcpProperties::kHostnameProperty[] = "Hostname";
58 const char DhcpProperties::kVendorClassProperty[] = "VendorClass";
60 DhcpProperties::DhcpProperties() {}
62 DhcpProperties::~DhcpProperties() {}
64 void DhcpProperties::InitPropertyStore(PropertyStore* store) {
71 new CustomMappedAccessor<DhcpProperties, string, size_t>(
73 &DhcpProperties::ClearMappedStringProperty,
74 &DhcpProperties::GetMappedStringProperty,
75 &DhcpProperties::SetMappedStringProperty,
81 void DhcpProperties::Load(StoreInterface* storage, const string& id) {
93 void DhcpProperties::Save(StoreInterface* storage, const string& id) const {
111 std::unique_ptr<DhcpProperties> DhcpProperties::Combine(
112 const DhcpProperties& base, const DhcpProperties& to_merge) {
114 std::unique_ptr<DhcpProperties> to_return(new DhcpProperties());
124 bool DhcpProperties::GetValueForProperty(const string& name,
133 void DhcpProperties::ClearMappedStringProperty(const size_t& index,
143 string DhcpProperties::GetMappedStringProperty(const size_t& index,
153 bool DhcpProperties::SetMappedStringProperty(