Action_Thermostats
        Add_AtomRandomPerturbation
        Add_SelectAtomByNameAction
        Adding_Graph_to_ChangeBondActions
        Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChangeBugEmailaddress
        ChemicalSpaceEvaluator
        EmpiricalPotential_contain_HomologyGraph_documentation
        Enhance_userguide
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Example_ManyWaysToTranslateAtom
        Exclude_Hydrogens_annealWithBondGraph
        Fix_Verbose_Codepatterns
        ForceAnnealing_oldresults
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_continued
        ForceAnnealing_with_BondGraph_continued_betteresults
        ForceAnnealing_with_BondGraph_contraction-expansion
        GeometryObjects
        Gui_displays_atomic_force_velocity
        IndependentFragmentGrids_IntegrationTest
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        QtGui_reactivate_TimeChanged_changes
        Recreated_GuiChecks
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        TremoloParser_MultipleTimesteps
        stable
      
      
        
          | 
            Last change
 on this file since 987145 was             56f73b, checked in by Frederik Heber <heber@…>, 15 years ago           | 
        
        
          | 
             
Added config.h also to all header files, code check test ascertain this in the future. 
 
- as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG,
LOG_OBSERVER, we have to make sure that it is present in each and every
file.
 - split up CodeChecks/testsuite.at: each test has its own .at file.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            556 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [9d8609] | 1 | /*
 | 
|---|
 | 2 |  * StringView.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Dec 14, 2009
 | 
|---|
 | 5 |  *      Author: crueger
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef STRINGVIEW_HPP_
 | 
|---|
 | 9 | #define STRINGVIEW_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
| [56f73b] | 11 | // include config.h
 | 
|---|
 | 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 13 | #include <config.h>
 | 
|---|
 | 14 | #endif
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | 
 | 
|---|
| [9d8609] | 17 | #include <string>
 | 
|---|
 | 18 | #include "Views/View.hpp"
 | 
|---|
 | 19 | 
 | 
|---|
| [ef81b0] | 20 | /**
 | 
|---|
 | 21 |  * View to show something as a string
 | 
|---|
 | 22 |  *
 | 
|---|
 | 23 |  * This View is used by calling the toString method.
 | 
|---|
 | 24 |  * This View does *not* use the observer pattern.
 | 
|---|
 | 25 |  */
 | 
|---|
| [9d8609] | 26 | class StringView : public View
 | 
|---|
 | 27 | {
 | 
|---|
 | 28 | public:
 | 
|---|
 | 29 |   StringView();
 | 
|---|
 | 30 |   virtual ~StringView();
 | 
|---|
 | 31 | 
 | 
|---|
| [24a5e0] | 32 |   virtual const std::string toString()=0;
 | 
|---|
| [9d8609] | 33 | };
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | #endif /* STRINGVIEW_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.