File: SoFullPath.i

package info (click to toggle)
pivy 0.6.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,232 kB
  • sloc: python: 36,331; cpp: 787; ansic: 733; makefile: 30; sh: 27; objc: 5
file content (7 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
%extend SoFullPath {
  /* allow construction of an SoFullPath through the provision of an
   * SoPath, to remedy the need for a cast operator. */
  static SoFullPath * fromSoPath(SoPath * path) {
    return static_cast<SoFullPath *>(path);
  }
}