1 ###############################################################################
2 # Copyright (c) 2000-2016 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
12 ###############################################################################
19 #ifndef TITAN_LOGGER_API_SIMPLE_HH
20 #define TITAN_LOGGER_API_SIMPLE_HH
21 namespace TitanLoggerApiSimple {
26 if ($is_enum) { # already found the start of an enum
27 if (/enum\s*enum_type\s*{\s*([^}]+)};/) {
28 print $_; # copy enum_type
31 print $_; # copy the closing brace
36 if (my ($class, $base) = /class\s*(\w+)\s*:\s*public\s*(\w+)\s*{\s*\/\
/\s*enum/) {
37 print "\nclass $class {\npublic:\n";
This page took 0.03104 seconds and 5 git commands to generate.