Browse Source

a few tweaks, minumal

enhancement_3
Trevor Irons 8 years ago
parent
commit
ce5a9b88fc

+ 7
- 2
Documentation/dox/tutorial.dox View File

33
 flexible application programming interface (API) which can be though of as building blocks used 
33
 flexible application programming interface (API) which can be though of as building blocks used 
34
 to construct programs or projects.   
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
 Lemma is not a program. It's an API, or an Application Programming Interface.
42
 Lemma is not a program. It's an API, or an Application Programming Interface.
38
 This offers a lot of advantages over traditional programs. 
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
   you want and nothing more. 
45
   you want and nothing more. 
41
 - Second, its extendible. If we have a class that does almost what you want, but is missing 
46
 - Second, its extendible. If we have a class that does almost what you want, but is missing 
42
   something, you can just extend a class. 
47
   something, you can just extend a class. 

+ 5
- 0
Modules/LemmaCore/include/RectilinearGrid.h View File

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

+ 1
- 1
Modules/LemmaCore/src/RectilinearGrid.cpp View File

16
 namespace Lemma {
16
 namespace Lemma {
17
 
17
 
18
     std::ostream &operator << (std::ostream &stream, const RectilinearGrid &ob) {
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
         return stream;
20
         return stream;
21
     }
21
     }
22
 
22
 

vim/cpp.cpp.template → vim/lemma.cpp.template View File


Loading…
Cancel
Save