~ubuntu-branches/ubuntu/intrepid/cmake/intrepid-backports

« back to all changes in this revision

Viewing changes to Source/cmVTKWrapJavaCommand.h

  • Committer: Bazaar Package Importer
  • Author(s): Maitland Bottoms
  • Date: 2002-02-14 18:36:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020214183625-8m44isdas2k4l0f7
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef cmVTKWrapJavaCommand_h
 
2
#define cmVTKWrapJavaCommand_h
 
3
 
 
4
#include "cmStandardIncludes.h"
 
5
#include "cmCommand.h"
 
6
 
 
7
/** \class cmVTKWrapJavaCommand
 
8
 * \brief Create Java Language bindings for classes
 
9
 *
 
10
 * cmVTKWrapJavaCommand is used to create wrappers for classes into Java
 
11
 */
 
12
class cmVTKWrapJavaCommand : public cmCommand
 
13
{
 
14
public:
 
15
  /**
 
16
   * This is a virtual constructor for the command.
 
17
   */
 
18
  virtual cmCommand* Clone() 
 
19
    {
 
20
    return new cmVTKWrapJavaCommand;
 
21
    }
 
22
 
 
23
  /**
 
24
   * This is called when the command is first encountered in
 
25
   * the CMakeLists.txt file.
 
26
   */
 
27
  virtual bool InitialPass(std::vector<std::string> const& args);
 
28
  
 
29
  /**
 
30
   * This is called at the end after all the information
 
31
   * specified by the command is accumulated. Most commands do
 
32
   * not implement this method.  At this point, reading and
 
33
   * writing to the cache can be done.
 
34
   */
 
35
  virtual void FinalPass();
 
36
 
 
37
  /**
 
38
   * The name of the command as specified in CMakeList.txt.
 
39
   */
 
40
  virtual const char* GetName() { return "VTK_WRAP_JAVA";}
 
41
 
 
42
  /**
 
43
   * Succinct documentation.
 
44
   */
 
45
  virtual const char* GetTerseDocumentation() 
 
46
    {
 
47
    return "Create Java Wrappers.";
 
48
    }
 
49
  
 
50
  /**
 
51
   * More documentation.
 
52
   */
 
53
  virtual const char* GetFullDocumentation()
 
54
    {
 
55
    return
 
56
      "VTK_WRAP_JAVA(resultingLibraryName SourceListName SourceLists ...)";
 
57
    }
 
58
  
 
59
private:
 
60
  std::vector<cmSourceFile> m_WrapClasses;
 
61
  std::vector<std::string> m_WrapHeaders;
 
62
  std::vector<std::string> m_OriginalNames;
 
63
  std::string m_LibraryName;
 
64
  std::string m_SourceList;
 
65
};
 
66
 
 
67
 
 
68
 
 
69
#endif