Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals

log_entry.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002, 2003 The RapidSvn Group.  All rights reserved.
00004  *
00005  * This software is licensed as described in the file LICENSE.txt,
00006  * which you should have received as part of this distribution.
00007  *
00008  * This software consists of voluntary contributions made by many
00009  * individuals.  For exact contribution history, see the revision
00010  * history and logs, available at http://rapidsvn.tigris.org/.
00011  * ====================================================================
00012  */
00013 
00014 #ifndef _SVNCPP_LOG_ENTRY_H_
00015 #define _SVNCPP_LOG_ENTRY_H_
00016 
00017 // stl
00018 #include <string>
00019 
00020 // subversion api
00021 #include "svn_types.h"
00022 
00023 
00024 namespace svn
00025 {
00026   struct LogEntry
00027   {
00028     LogEntry ()
00029     {
00030     }
00031 
00032     LogEntry (const svn_revnum_t revision,
00033               const char * author,
00034               const char * date,
00035               const char * message)
00036     {
00037       this->revision = revision;
00038       this->author = author == 0 ? "" : author;
00039       this->date = date == 0 ? "" : date;
00040       this->message = message == 0 ? "" : message;
00041     }
00042 
00043     svn_revnum_t revision;
00044     std::string author;
00045     std::string date;
00046     std::string message;
00047   };
00048 }
00049 
00050 #endif
00051 /* -----------------------------------------------------------------
00052  * local variables:
00053  * eval: (load-file "../../rapidsvn-dev.el")
00054  * end:
00055  */
00056 

Generated on Mon Feb 2 23:06:01 2004 for SvnCpp by doxygen 1.3.4