File: README.md

package info (click to toggle)
insighttoolkit4 4.13.3withdata-dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 489,260 kB
  • sloc: cpp: 557,342; ansic: 146,850; fortran: 34,788; python: 16,572; sh: 2,187; lisp: 2,070; tcl: 993; java: 362; perl: 200; makefile: 129; csh: 81; pascal: 69; xml: 19; ruby: 10
file content (29 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Kitware System Library (KWSys)
==============================

KWSys provides a platform-independent API to many common system features that
are implemented differently on every platform. The library is intended to be
shared among many projects.

How to use KWSys from ITK
-------------------------

```cpp
   #include "itksys/SystemTools.hxx"

   bool MyIsDirectory(const char* fname)
   {
     return itksys::SystemTools::FileIsDirectory(fname);
   }
```

How to modify KWSys
-------------------

When adding a method to an existing class or fixing an error/warning, make no
mention of ITK. KWSys has no knowledge of ITK headers or libraries. Please
also keep in mind that KWSys must be able to build on more platforms and
compilers than ITK. Refer to existing code for conventions to ease this task.

If you want to add a class, please contact the ITK mailing list for
discussion. Please do not add a class without permission from Kitware.