proxygen
PrivateCode Class Reference

#include <production.h>

Public Member Functions

 FRIEND_TEST (PrivateCodeTest, CanAccessPrivateMembers)
 
 FRIEND_TEST (PrivateCodeFixtureTest, CanAccessPrivateMembers)
 
 PrivateCode ()
 
int x () const
 
 FRIEND_TEST (PrivateCodeTest, CanAccessPrivateMembers)
 
 FRIEND_TEST (PrivateCodeFixtureTest, CanAccessPrivateMembers)
 
 PrivateCode ()
 
int x () const
 
 FRIEND_TEST (PrivateCodeTest, CanAccessPrivateMembers)
 
 FRIEND_TEST (PrivateCodeFixtureTest, CanAccessPrivateMembers)
 
 PrivateCode ()
 
int x () const
 

Private Member Functions

void set_x (int an_x)
 
void set_x (int an_x)
 
void set_x (int an_x)
 

Private Attributes

int x_
 

Detailed Description

Definition at line 39 of file production.h.

Constructor & Destructor Documentation

PrivateCode::PrivateCode ( )

Definition at line 36 of file production.cc.

36 : x_(0) {}
PrivateCode::PrivateCode ( )
PrivateCode::PrivateCode ( )

Member Function Documentation

PrivateCode::FRIEND_TEST ( PrivateCodeTest  ,
CanAccessPrivateMembers   
)
PrivateCode::FRIEND_TEST ( PrivateCodeTest  ,
CanAccessPrivateMembers   
)
PrivateCode::FRIEND_TEST ( PrivateCodeTest  ,
CanAccessPrivateMembers   
)
PrivateCode::FRIEND_TEST ( PrivateCodeFixtureTest  ,
CanAccessPrivateMembers   
)
PrivateCode::FRIEND_TEST ( PrivateCodeFixtureTest  ,
CanAccessPrivateMembers   
)
PrivateCode::FRIEND_TEST ( PrivateCodeFixtureTest  ,
CanAccessPrivateMembers   
)
void PrivateCode::set_x ( int  an_x)
inlineprivate

Definition at line 51 of file production.h.

References x_.

Referenced by TEST(), and TEST_F().

51 { x_ = an_x; }
void PrivateCode::set_x ( int  an_x)
inlineprivate

Definition at line 51 of file production.h.

References x_.

51 { x_ = an_x; }
void PrivateCode::set_x ( int  an_x)
inlineprivate

Definition at line 51 of file production.h.

References x_.

51 { x_ = an_x; }
int PrivateCode::x ( ) const
inline

Definition at line 49 of file production.h.

References x_.

49 { return x_; }
int PrivateCode::x ( ) const
inline

Definition at line 49 of file production.h.

References x_.

49 { return x_; }
int PrivateCode::x ( ) const
inline

Definition at line 49 of file production.h.

References x_.

49 { return x_; }

Member Data Documentation

int PrivateCode::x_
private

Definition at line 52 of file production.h.

Referenced by set_x(), TEST(), TEST_F(), and x().


The documentation for this class was generated from the following files: