cprintf.hh (8229:78bf55f23338) | cprintf.hh (9331:6630b3ffe7c0) |
---|---|
1/* 2 * Copyright (c) 2002-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 45 unchanged lines hidden (view full) --- 54 bool cont; 55 56 std::ios::fmtflags saved_flags; 57 char saved_fill; 58 int saved_precision; 59 60 Format fmt; 61 void process(); | 1/* 2 * Copyright (c) 2002-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 45 unchanged lines hidden (view full) --- 54 bool cont; 55 56 std::ios::fmtflags saved_flags; 57 char saved_fill; 58 int saved_precision; 59 60 Format fmt; 61 void process(); |
62 void process_flag(); |
|
62 63 public: 64 Print(std::ostream &stream, const std::string &format); 65 Print(std::ostream &stream, const char *format); 66 ~Print(); 67 68 int 69 get_number(int data) --- 123 unchanged lines hidden --- | 63 64 public: 65 Print(std::ostream &stream, const std::string &format); 66 Print(std::ostream &stream, const char *format); 67 ~Print(); 68 69 int 70 get_number(int data) --- 123 unchanged lines hidden --- |