Remove Protocol Buffers support.

Change-Id: I451c543c82cdfb566736aab94d836abcfb5c689d
This commit is contained in:
Sameer Agarwal
2013-06-24 13:51:58 -07:00
parent 5d00bf40f5
commit 79d9353036
25 changed files with 237 additions and 944 deletions
-7
View File
@@ -41,8 +41,6 @@
namespace ceres {
namespace internal {
class SparseMatrixProto;
// This class defines the interface for storing and manipulating
// sparse matrices. The key property that differentiates different
// sparse matrices is how they are organized in memory and how the
@@ -86,11 +84,6 @@ class SparseMatrix : public LinearOperator {
// sparse matrix.
virtual void ToDenseMatrix(Matrix* dense_matrix) const = 0;
#ifndef CERES_NO_PROTOCOL_BUFFERS
// Dump the sparse matrix to a proto. Destroys the contents of proto.
virtual void ToProto(SparseMatrixProto* proto) const = 0;
#endif
// Write out the matrix as a sequence of (i,j,s) triplets. This
// format is useful for loading the matrix into MATLAB/octave as a
// sparse matrix.