How to creat a top-level indexable class?
hi,
I want to add a new "top-level indexable" class into yade, just as Materials and Shape. I added the hpp and cpp files into folder "core". According to the manuals, the frame of the hpp file is similar as Shape.hpp, including YADE_CLASS_
Additionally, I modified the /core/corePlung
when I tried to compile it. Errors showed like that :
/yade/core/
/yade/core/
/yade/core/
/yade/core/
/yade/core/
/yade/core/
/yade/core/
and here are my hpp codes: (17,18... is the line number)
17 YADE_CLASS_
18 ((Vector3r,
19 ((bool,
20 ((bool,
21 /*ctor*/,
22 /*py*/ YADE_PY_
23 );
24 REGISTER_
25 };
26 REGISTER_
-------
Is there any thing else to be done when create top-level indexable class? Can you give me an instruction on creating this kind of class?
I really appreciate.
regards,
Lin
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: