C++ Code rules used in Orocos

Hello,
In order to standardize our code, we would apply the same code rules
(naming, comments, formatting, scoping, ...) as those used in Orocos. Did
you use a known style or is there a document which summarizes these rules?

Thank you,

Philippe Hamelin

C++ Code rules used in Orocos

On Thursday 02 April 2009 15:42:57 Philippe Hamelin wrote:
> Hello,
> In order to standardize our code, we would apply the same code rules
> (naming, comments, formatting, scoping, ...) as those used in Orocos. Did
> you use a known style or is there a document which summarizes these rules?

In the orocos-rtt/doc/ dir, there's a file CODING_STYLE.txt. Also, we worked
out the indentation rules for Eclipse and Emacs.

http://svn.mech.kuleuven.be/websvn/orocos/trunk/rtt/doc/
http://www.orocos.org/node/681
http://www.orocos.org/wiki/rtt/eclipse

Peter

C++ Code rules used in Orocos

Can we put this under a FAQ entry under something like: What is the coding
standard used by Orocos?
I volunteer to copy the contents of this post on the wiki :)

Just give me a go.

Adolfo

On Thu, Apr 2, 2009 at 4:04 PM, Peter Soetens <peter [dot] soetens [..] ...> wrote:

> On Thursday 02 April 2009 15:42:57 Philippe Hamelin wrote:
> > Hello,
> > In order to standardize our code, we would apply the same code rules
> > (naming, comments, formatting, scoping, ...) as those used in Orocos. Did
> > you use a known style or is there a document which summarizes these
> rules?
>
>
> In the orocos-rtt/doc/ dir, there's a file CODING_STYLE.txt. Also, we
> worked
> out the indentation rules for Eclipse and Emacs.
>
> http://svn.mech.kuleuven.be/websvn/orocos/trunk/rtt/doc/
> http://www.orocos.org/node/681
> http://www.orocos.org/wiki/rtt/eclipse
>
> Peter
>
> --
> Peter Soetens -- FMTC -- <http://www.fmtc.be>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>

C++ Code rules used in Orocos

On Thursday 02 April 2009 16:30:06 Adolfo Rodríguez Tsouroukdissian wrote:
> Can we put this under a FAQ entry under something like: What is the coding
> standard used by Orocos?
> I volunteer to copy the contents of this post on the wiki :)
>
> Just give me a go.

Since it's a wiki, you really don't need to ask permission :-)

So please go...!

Peter