Google APIs Client Library for C++
googleapis Namespace Reference

A service request pager acts as a high level iterator for paging through results. More...

Namespaces

namespace  client
 

namespace thread


namespace  thread
namespace  util

Classes

class  HttpTransportTestFixture
 namespace client More...
class  StringPiece
struct  GoodFastHash< StringPiece >
 SWIG doesn't know how to parse this stuff properly. Omit it.

Typedefs

typedef string::difference_type stringpiece_ssize_type
 StringPiece has *two* size types.

Functions

 DECLARE_POD (StringPiece)
bool operator== (StringPiece x, StringPiece y)
 So vector<StringPiece> becomes really fast.
bool operator!= (StringPiece x, StringPiece y)
bool operator< (StringPiece x, StringPiece y)
bool operator> (StringPiece x, StringPiece y)
bool operator<= (StringPiece x, StringPiece y)
bool operator>= (StringPiece x, StringPiece y)
std::ostream & operator<< (std::ostream &o, StringPiece piece)
 allow StringPiece to be logged

Detailed Description

A service request pager acts as a high level iterator for paging through results.

Convience helpers for GTest.

namespace google_wax_api

Each page involves a round-trip request the the server.

These require linking against googleapis_gtest_main instead of gtest_main


Typedef Documentation

typedef string::difference_type stringpiece_ssize_type

StringPiece has *two* size types.

StringPiece::size_type is unsigned is 32 bits in LP32, 64 bits in LP64, 64 bits in LLP64 no future changes intended stringpiece_ssize_type is signed is 32 bits in LP32, 64 bits in LP64, 64 bits in LLP64


Function Documentation

googleapis::DECLARE_POD ( StringPiece  )
bool googleapis::operator!= ( StringPiece  x,
StringPiece  y 
) [inline]
bool googleapis::operator< ( StringPiece  x,
StringPiece  y 
) [inline]
std::ostream& googleapis::operator<< ( std::ostream &  o,
StringPiece  piece 
)

allow StringPiece to be logged

bool googleapis::operator<= ( StringPiece  x,
StringPiece  y 
) [inline]
bool googleapis::operator== ( StringPiece  x,
StringPiece  y 
) [inline]

So vector<StringPiece> becomes really fast.

This large function is defined inline so that in a fairly common case where one of the arguments is a literal, the compiler can elide a lot of the following comparisons.

bool googleapis::operator> ( StringPiece  x,
StringPiece  y 
) [inline]
bool googleapis::operator>= ( StringPiece  x,
StringPiece  y 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines