Quellcode durchsuchen

a few tweaks, minumal

enhancement_3
Trevor Irons vor 8 Jahren
Ursprung
Commit
ce5a9b88fc

+ 7
- 2
Documentation/dox/tutorial.dox Datei anzeigen

@@ -33,10 +33,15 @@ approach we have taken. Rather than provide programs performing specific tasks L
33 33
 flexible application programming interface (API) which can be though of as building blocks used 
34 34
 to construct programs or projects.   
35 35
 
36
-\subsection API An API? What's that?
36
+\subsection Design Our design philosophy 
37
+Software should be flexible, intuitive, and simple. Many times, less is more and offering 
38
+Note that simple is not necessarily synonymous with easy, although we do strive to make Lemma 
39
+as easy to use as possible without sacrificing our other goals.    
40
+
41
+\subsubsection API An API? What's that?
37 42
 Lemma is not a program. It's an API, or an Application Programming Interface.
38 43
 This offers a lot of advantages over traditional programs. 
39
-- First, its flexible. Its easy to put together components to do exactly what 
44
+- First, its flexible. Its easy to put together components to do exactly what  
40 45
   you want and nothing more. 
41 46
 - Second, its extendible. If we have a class that does almost what you want, but is missing 
42 47
   something, you can just extend a class. 

+ 5
- 0
Modules/LemmaCore/include/RectilinearGrid.h Datei anzeigen

@@ -35,6 +35,11 @@ namespace Lemma {
35 35
         friend std::ostream &operator<<(std::ostream &stream,
36 36
 			const RectilinearGrid &ob);
37 37
 
38
+        /*
39
+         *  This key is used to lock the constructors
40
+         */
41
+        struct ctor_key {};
42
+
38 43
         public:
39 44
 
40 45
             // ====================  LIFECYCLE     =======================

+ 1
- 1
Modules/LemmaCore/src/RectilinearGrid.cpp Datei anzeigen

@@ -16,7 +16,7 @@
16 16
 namespace Lemma {
17 17
 
18 18
     std::ostream &operator << (std::ostream &stream, const RectilinearGrid &ob) {
19
-        stream << ob.Serialize()  << "\n---\n"; // End of doc --- as a direct stream should encapulste thingy
19
+        stream << ob.Serialize()  << "\n---\n"; // End of doc
20 20
         return stream;
21 21
     }
22 22
 

vim/cpp.cpp.template → vim/lemma.cpp.template Datei anzeigen


Laden…
Abbrechen
Speichern