1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "dbus/object_path.h"
7 #include "dbus/string_util.h"
11 bool ObjectPath::IsValid() const {
12 return IsValidObjectPath(value_
);
15 bool ObjectPath::operator<(const ObjectPath
& that
) const {
16 return value_
< that
.value_
;
19 bool ObjectPath::operator==(const ObjectPath
& that
) const {
20 return value_
== that
.value_
;
23 bool ObjectPath::operator!=(const ObjectPath
& that
) const {
24 return value_
!= that
.value_
;