소스 검색

a few tweaks, minumal

enhancement_3
Trevor Irons 7 년 전
부모
커밋
ce5a9b88fc
4개의 변경된 파일13개의 추가작업 그리고 3개의 파일을 삭제
  1. 7
    2
      Documentation/dox/tutorial.dox
  2. 5
    0
      Modules/LemmaCore/include/RectilinearGrid.h
  3. 1
    1
      Modules/LemmaCore/src/RectilinearGrid.cpp
  4. 0
    0
      vim/lemma.cpp.template

+ 7
- 2
Documentation/dox/tutorial.dox 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기


Loading…
취소
저장