# ----------------------------------------------------------------------
# This is an astyle configuration file, which can be used for indenting,
# formatting and beautifying IT++ header and source files. The Artistic
# Style (astyle) program can be downloaded from the following site:
#   http://astyle.sourceforge.net/
# To filter a source or header file using this option please use the
# following command:
#   $ astyle --options=<IT++_source_directory>/extras/astylerc file.cpp
#
# Similar indentation style can be obtained in GNU emacs editor by
# adding these settings to the default .emacs configuration file:
#
# (defun it++-mode ()
#   "C++ mode with adjusted defaults for use with the IT++ project."
#   (interactive)
#   (c++-mode)
#   (c-set-style "gnu")
#   (c-set-offset 'innamespace 0)
#   (setq c-basic-offset 2)
#   (setq indent-tabs-mode nil)
#   (setq c-block-comment-prefix "* "))
#
# (setq auto-mode-alist (cons '("itpp.*/.*\\.\\(h\\|cpp\\)$" . it++-mode)
#                             auto-mode-alist))
# ----------------------------------------------------------------------
indent=tab=4
brackets=attach
pad=oper
pad=paren
unpad=paren

#Don't want to break one-line blocks? Uncomment the following line... 
#one-line=keep-blocks
#Code like:
#   if (isFoo)
#      { isFoo = false; cout << isFoo << endl; }
# then remains unchanged.
