Lines Matching defs:Id
30 class Id;
32 SYNC_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& out, const Id& id);
34 // For historical reasons, 3 concepts got everloaded into the Id:
44 class SYNC_EXPORT Id {
48 inline Id() : s_("r") { }
49 inline Id(const Id& that) {
52 inline Id& operator = (const Id& that) {
56 inline void Copy(const Id& that) {
74 inline int compare(const Id& that) const {
77 inline bool operator == (const Id& that) const {
80 inline bool operator != (const Id& that) const {
83 inline bool operator < (const Id& that) const {
86 inline bool operator > (const Id& that) const {
97 Id GetLexicographicSuccessor() const;
105 static Id CreateFromServerId(const std::string& server_id);
108 static Id CreateFromClientString(const std::string& local_id);
113 static Id GetLeastIdForLexicographicComparison();
120 const Id& id);
127 SYNC_EXPORT_PRIVATE Id GetNullId();