Computer Laboratory

Protocol.h File Reference

Detailed Description

Declaration of protocol buffer helper functions.

Annoyingly, Google Protocol Buffers don't provide operator== methods. This file declares a few, as well as a couple of operator< functions.

Definition in file Protocol.h.

#include "tesla.pb.h"
+ Include dependency graph for Protocol.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tesla
 

Functions

template<class T >
bool tesla::operator!= (const T &x, const T &y)
 
bool tesla::operator== (const Location &x, const Location &y)
 
bool tesla::operator== (const Identifier &x, const Identifier &y)
 
bool tesla::operator== (const Argument &A1, const Argument &A2)
 
bool tesla::operator== (const NowEvent &X, const NowEvent &Y)
 
bool tesla::operator== (const FunctionRef &X, const FunctionRef &Y)
 
bool tesla::operator== (const FunctionEvent &E1, const FunctionEvent &E2)
 
bool tesla::operator== (const StructField &X, const StructField &Y)
 
bool tesla::operator== (const FieldAssignment &X, const FieldAssignment &Y)
 
bool tesla::operator< (const Location &x, const Location &y)
 
bool tesla::operator< (const Identifier &x, const Identifier &y)